Overriding a promotional URL offer discount
Learn how to override a promotional URL offer discount.
High-level workflow use case
The schema for skip offer arbitration via the Purchase resource
POST /shoppers/me/carts/active/line-items
POST /shoppers/me/carts/active/line-items/{id}{
"lineItems": {
"lineItem": {
"quantity": "1",
"product": {
"id": "4878374"
}
},
"appliedProductOffers": {
"offer": {
"offerId": "23456",
"customDescription": "Exclusive on our shop!!!",
"overrideDiscount": [
{
"externalReferenceId": "123",
"discount": 50,
"discountType": "amountOff"
},
{
"productId": "456",
"discount": 60,
"discountType": "amountOff"
}
]
},
"shippingOffer": {
"externalReferenceId": "23001",
"customDescription": "Our prices are cheapest~~",
"overrideDiscount": [
{
"productId": "123",
"discount": 50,
"discountType": "amountOff"
},
{
"externalReferenceId": "456",
"discount": 60,
"discountType": "amountOff"
}
]
}
}
}
}The schema for a trigger offer or override discount via the Cart resource
Active query parameters
Skip Offer Arbitration flag
O-ERID
Override or Overridden offer
Offer Description
Last updated