**Type**: long[ ]
**Parameters**
Name | Type | Value |
sessionId | String | ID of the current session |
couponSource | String | Type of coupon block:<br><ul><li><span class="classLib">static</span>: Contains static coupon codes<br>These must be created manually. See CouponCodeWebservice see [add](🔗) or [addAll](🔗).</li> |
<li><span class="classLib">generated</span>: Coupon codes are automatically generated when sending the mailing and are unique.</li></ul> | | |
**Return values**
The IDs of all existing coupon blocks
**Code structure**