Skip to main content

Request an override of the cart's final (post-GST) total

POST 

/api/v1/cart/:cartId/modification

The agent enters targetTotal (the grand total the customer should pay). A target BELOW the current total is a DECREASE — recorded as a PENDING request for an approver; the cart total is unchanged until approved. A target ABOVE is an INCREASE — applied immediately as a surcharge (no approval). The post-GST delta is converted to a pre-GST adjustment and shown as a MOD-xxxx line. Returns the cart (with the increase applied, or the pending request surfaced on amountModification). WITH AGENT CASHBACK APPLIED, targetTotal is the AMOUNT PAYABLE, measured against the current summary.amountPayable: the grand total is set to it plus the applied cashback, so the cashback still settles in full and amountPayable lands on the figure sent. amountModification.cashbackApplied / originalPayable / targetPayable then carry the payable-side figures, and an approver's discount limit is measured against originalPayable.

Request​

Responses​

OK