Loading...
Area: Optimizely Campaign
Applies to versions: Not applicable

CouponCodeWebservice

Recommended reading 

With the web service CouponCodeWebservice in Optimizely Campaign, you can create, query and delete.

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

The following methods are available in this web service:

Method Description

add

Adds a single coupon code to a static block

addAll

Adds multiple coupon codes to a block

getAllAssigned

Queries coupon codes assigned to a mailing

getAllUnAssigned

Queries all available coupon codes of a block

getAssignedMailing

Queries the mailing ID a code has been assigned to

getAssignedRecipientId

Queries the recipient ID a code has been assigned to

getByMailingAndRecipientId

Queries a coupon code by mailing and recipient ids

getCreated

Queries the creation date of a coupon code

getModified

Queries the modification date of a coupon code

isAssigned

Queries whether a coupon code has been assigned to a recipient

isUsed

Queries whether a recipient has redeemed a coupon code

markAsUsed

Invalidates a coupon code

remove

Deletes a single coupon code

removeAll

Deletes 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.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 24, 2018

Recommended reading