How to update item quantity using updateOrder Admin API on a submitted order?
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