Create or update a coupon

Body Params
string
required
boolean
boolean
discount
object
discounts
array of objects
length between 2 and 25
discounts

string
enum
Allowed:
number
amount
object
products
array of strings
products
integer
boolean

string
enum
Allowed:
number
amount
object
products
array of strings
products
integer
boolean
integer
0 to 365
boolean
boolean
boolean
reason
object
integer
≥ 0
available
object
codes
array of strings
codes
products
array of strings
products
Responses

result field to determine the outcome.

DeserializationErrorResponse.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json