Record a Price Override

Service URL: POST /baskets/{basketReference}/items/{lineNumber}/priceOverride[?returnBasket=true]

Tokens:

basketReference – The basket reference of the basket to record the price override against

lineNumber – The line number to record the price override against

Request Body:

IAddTransactionDiscountRequest:

reasonId – String – The ID of the reason describing what kind of price override to apply – Required

value – Long – The new price for the line – Required

Remarks:

Record a Price Override against an item in the basket

The value will determine the new price for the line. If the line has a quantity greater than 1, this will be the new value for the entire line.

If the returnBasket flag is true, the updated basket will be returned

Example Request:

{
    "reasonId": "PRICE-OVERRIDE-1",
    "value": 500
}
Go to Top