Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

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

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

Get information about a coupon code

Get detailed information about a coupon code, such as code, mailing assignment or recipient assignment.

New Requests
Path Params
int64
required

Client ID

string
required

Coupon code

int64
required

Coupon block ID

Responses

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
Select from the Examples drop-down list.
Select from the Examples drop-down list.