Update Basket - Item(s)

Update existing items with changes to e.g. quantity or note, or add new items to the basket.

When the customer adds an item suggested by Get Upsell Items, include that suggestion's upsellReference on the item. As each patch replaces the whole basket, retain the upsellReference on that item in every subsequent patch while it remains in the basket, otherwise it's lost. This attributes the item to the upsell suggestion, enabling reporting, monitoring and analysis of upsell success.



Path Params
string
required

accountId is the unique identifier of the customer account in Deliverect

string
required
Body Params

Patch Behaviour
Each patch will fully replace the current basket content, to update or add new products, retain the existing basket items.

Responses

409

Conflict — a concurrent update to the basket was detected

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json