POST
/
v1
/
subscriptionDiscount

Authorizations

Authorization
string
header
required

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

Body

application/json

Details of discount to be created

categories
string[]

Product categories

channel
enum<string>

Channel

Available options:
WEBSITE,
POS
customerSegment
string[]

Customer segments

discount
object

Discount detail

frequency
object

Shipping frequency details

itemQuantity
integer

Number of items

message
string

Merchant discount message

skus
string[]

SKUs to which discount applies

target
enum<string>

Discount target

Available options:
PDP,
CART,
QUICK VIEW,
SUBSCRIPTION MANAGEMENT PORTAL
validity
object

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

Response

200 - application/json

Discount details after creation

data
object

Discount details

message
string

Full response message

responseStatus
string

Brief response status