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

Delete a coupon code

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

Client ID

string
required

Coupon code

int64
required

Coupon block ID

Responses
204

The coupon code was deleted successfully.

404

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

409

The coupon code is not assigned to the indicated client. Ensure that "clientId" and the coupon code 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!