POST
/
v1
/
subscriptionDiscount

Authorizations

Authorization
string
headerrequired

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

Body

application/json

Details of discount to be created

validity
object

Dates during which discount is valid, and orders to which discount applies

message
string

Merchant discount message

discount
object

Discount detail

skus
string[]

SKUs to which discount applies

categories
string[]

Product categories

frequency
object

Shipping frequency details

itemQuantity
integer

Number of items

channel
enum<string>

Channel

Available options:
WEBSITE,
POS
target
enum<string>

Discount target

Available options:
PDP,
CART,
QUICK VIEW,
SUBSCRIPTION MANAGEMENT PORTAL
customerSegment
string[]

Customer segments

Response

200 - application/json

Discount details after creation

responseStatus
string

Brief response status

message
string

Full response message

data
object

Discount details