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