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

markAsUsed

Recommended reading 

Invalidates a coupon code in Optimizely Campaign. Use this method after the recipient has converted the coupon code after a purchase.

Type: void

Parameters

Name Type Value

sessionId

String

ID of the current session

blockId

long

ID of the coupon block

code

String

Coupon code to be invalidated

Return values

 -

Code structure

void markAsUsed(String sessionId, long blockId, String code) 
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 24, 2018

Recommended reading