Coupons
Create Coupon
Create a coupon
POST
/
coupons
Authorizations
Authorization
string
headerrequiredBearer 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
requireddiscount_value
integer
requiredmax_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