POST
/
coupons

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Sellix-Merchant
string

The name of the store to perform actions on via the API

Body

application/json
code
string
required
discount_value
integer
required
max_uses
integer
discount_type
enum<string>
Available options:
PERCENTAGE,
FIXED
disabled_with_volume_discounts
boolean
all_recurring_bill_invoices
boolean
expire_at
number
products_bound
string[]

Response

200 - application/json
status
integer
data
object
error
string
message
string
env
string