Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

CouponCodeWebservice

Create, query, and delete coupon codes.

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

The following methods are available in this web service:

MethodDescription
addAdds a single coupon code to a static block
addAllAdds multiple coupon codes to a block
getAllAssignedQueries coupon codes assigned to a mailing
getAllUnAssignedQueries all available coupon codes of a block
getAssignedMailingQueries the mailing ID a code has been assigned to
getAssignedRecipientIdQueries the recipient ID a code has been assigned to
getByMailingAndRecipientIdQueries a coupon code by mailing and recipient ids
getCreatedQueries the creation date of a coupon code
getModifiedQueries the modification date of a coupon code
isAssignedQueries whether a coupon code has been assigned to a recipient
isUsedQueries whether a recipient has redeemed a coupon code
markAsUsedInvalidates a coupon code
removeDeletes a single coupon code
removeAllDeletes multiple coupon codes

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


Next