HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


Use this method after the recipient has converted the coupon code after a purchase.

**Type**: void

**Parameters**

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block
codeStringCoupon code to be invalidated

**Return values**

  • **Code structure**