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

remove

Deletes a single coupon code in Optimizely Campaign.

Type: boolean

Parameters

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

Return values

  • true: Coupon code has been successfully deleted
  • false: Coupon code could not be deleted

Code structure

boolean remove(String sessionId, long blockId, String code)