Update coupon
PUT
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
coupon id
Body
application/json
Available options:
discount
, free-goods
, fixed-price
, free-shipping
, buy-x-get-y
, volume-based
, accelerated-rewards
Available options:
all
, customer
, segment
this key is ignored in create coupon api and draft status will be added by default. required in update coupon api only.
Available options:
draft
, live
, stopped
, expired
Available options:
all
, product
, category
required if customer_eligibility = custo
required if customer_eligibility = segment