Skip to main content
PUT
Update a subscription discount

Authorizations

Authorization
string
header
required

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

Path Parameters

offerId
string
required

Offer ID General object ID

Example:

"606f01f441b8fc0008529916"

Body

application/json

Details used to update discount

Details used to update discount

discount
object

Discount detail

message
string

Merchant discount message

Example:

"Offer terms and conditions"

skus
string[]

SKUs

SKU

categories
string[]

Product categories

Product category

frequency
object

Shipping frequency details

itemQuantity
integer

Number of items

Example:

1

channel
enum<string>

Channel

Available options:
WEBSITE,
POS
Example:

"WEBSITE"

target
enum<string>

Discount target

Available options:
PDP,
CART,
QUICK VIEW,
SUBSCRIPTION MANAGEMENT PORTAL
Example:

"PDP"

Response

Request processed successfully

Discount details after update

responseStatus
string

Brief response status

Example:

"OK"

message
string

Full response message

Example:

"Request processed successfully"

data
object

Discount details