PUT
/
coupons
/
{uniqid}

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

Path Parameters

uniqid
string
required

Uniqid of the resource

Body

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

Response

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