Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Delete coupon codes

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Client ID

int64
required

Coupon block ID

Query Params
codes
array of strings
required

Coupon codes to be deleted

codes*
Responses
204

The coupon codes were deleted successfully.

404

The coupon block could not be found. Ensure that the required parameters such as "couponBlockId" are correct and the coupon block exists.

409

The coupon block is not assigned to the indicated client. Ensure that "clientId" and "couponBlockId" are correct and that the "couponBlockId" is assigned to the indicated client.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!