Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


Create coupon blocks, query names and assignments and delete blocks in Optimizely Campaign.

The WSDLs for the coupon code system can be found under these links:

The following methods are available in this web service:

createCreates a new coupon block
getAllIdsQueries IDs of existing coupon blocks
getAssignedCodeCountQueries the number of assigned coupon codes in a block
getAssignedMailingsQueries the IDs of the mailings in which a coupon block was used
getCodeCountQueries the number of coupon codes of a block
getCreatedQueries the creation date of a coupon block
getModifiedQueries the modification date of a coupon block
getNameQueries the name of a coupon block
getUnAssignedCodeCountQueries the number of available codes in a block
removeDeletes a coupon block

To use this web service, you must have the coupon system add-on installed. See Coupon system in the Optimizely User Guide.

What’s Next