Get cart
Cart
Get cart
Retrieve the current cart for the authenticated shopper.
GET
Get cart
Request
Headers
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the customer token in the format Bearer <jwt>. |
x-shop-id | string | Identify the shop that owns the cart. |
Successful response
Notes
- Food line items include
itemType: "food",food,foodId, andselectedAddons. - Each selected add-on snapshots
name,description,price, andquantityat the time it was added to cart. - Use the cart item
_idwith/cart/item/:itemIdwhen managing food lines or any item with a unique add-on combination.
Error response
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

