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
61
Views
2
Comments
edited Nov 1, 2023 9:43PM in Commerce 2 comments

Summary:

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}

https://docs.oracle.com/en/cloud/saas/cx-commerce/cxocc/op-ccadmin-v1-orders-id-put.html

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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