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

markAsUsed

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

Type: void

Parameters

NameTypeValue

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) 

Last updated: Apr 24, 2018