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

Get all cart items API

Accepted answer
54
Views
3
Comments

Summary:

Get all cart items API

Content (required):

I want to use use Get Cart items using REST. Documentation : https://docs.oracle.com/en/cloud/saas/cx-commerce/22c/cxocc/op-ccstore-v1-orders-current-items-get.html


It has two parameters:

X-CCOrganization

X-CCVisitorId


I was not sure how to get those IDs, so fetched an existing order (using ccadmin/v1/orders), and used organizationId and profileId from its response.


On calling cart webservice, I don't get any error but I don't see any data also. I have added some items in cart manually, I should get that data in response.



Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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