HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

CouponBlockWebservice

With the web service CouponBlockWebservice you can 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:

MethodDescription
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
Did this page help you?