Get cart
GET/api/ecommercecart
Retrieves the current cart state with all added items, prices and other details.
Request
Responses
- 200
- 204
- 400
- 404
Success: Retrieved cart.
No content: There is no open cart.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.