You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to update item quantity using updateOrder Admin API on a submitted order?

Received Response
edited Nov 1, 2023 9:43PM in Commerce 2 comments


We tried updating the quantity of line items on an already submitted order using updateOrder Admin API. However, the changes aren't taking effect on storefront and agent console.

Content (please ensure you mask any confidential information):

We used updateOrder OCC Admin API:

PUT /ccadmin/v1/orders/{id}

And modified quantity fields in commerceItems[X].quantity, commerceItems[X].priceInfo.currentPriceDetailsSorted[Y].quantity and shippingGroups[X].commerceItemRelationships[Y].quantity. Currently, only the quantity corresponding to price is getting changed on agent console. In the response from API commerceItems[X].quantity


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!