How to add same product as separate items in the same purchaseList?
Summary:
We have use case where we need the same item is added to purchaseList as separate lines. This is so, different configurations of the same item can be stored.
Content (please ensure you mask any confidential information):
The configurations are stored in a custom attribute/dyanamicProperty. While this is supported in OCC cart/order APIs, on adding the item to purchaseLists, the items get merged as they have the same productId and catRefId:
On Cart:
Sample payload:
updatePurchaseListItems ccstore API (https://docs.oracle.com/en/cloud/saas/cx-commerce/cxocc/op-ccstore-v1-purchaselists-id-updateitems-post.html)
POST {{store_root}}ccstore/v1/purchaseLists/gl27507720/updateItems
Tagged:
2