Create coupon

Create a coupon. The coupon code needs to be unique for the currently active coupons.

Errors

The operation can generate the following errors beside the generic HTTP error codes described here.

Error code HTTP codeDescription
11400Duplicate handle
88400Coupon code already exists
83404Discount not found
10404Plan provided in eligible plans not found
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!