What's new in Customer Journeys?

Connect and learn more!
How to add same product as separate items in the same purchaseList? — Cloud Customer Connect
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 add same product as separate items in the same purchaseList?

Received Response
62
Views
4
Comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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