on 2022 Apr 18 7:37 PM
Hi Experts,
In hybris how can i get all the active carts (cart id) in the website.
There can be multiple user logged in the storefront across different sessions, how can i fetch the customer info and cart info for all these active sessions.
Request clarification before answering.
Hi Dilip,
Did you check the OCC API endpoints below?
/occ/v2/electronics/users/{customer_email_id}/carts
This endpoint gives you all active carts for the requested customer.
Here is the API reference on API Hub.
https://api.sap.com/api/commerce_services/resource
To get all the customer id, you can either run flexible search or search in Backoffice or use Integration API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
17 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.