Get Cart
Cart & Checkout
Get Cart
Retrieve the shopping cart for a specific user
GET
Get Cart
Overview
Retrieves the complete shopping cart for a user, including all cart items and their associated product details.Authentication
This endpoint requires authentication. Ensure the user has permission to access the specified cart.Path Parameters
number
required
The unique identifier of the user whose cart you want to retrieve
Response
boolean
required
Indicates whether the request was successful
object
The cart object containing all cart details
number
Unique identifier for the cart
number
The ID of the user who owns this cart
boolean
Whether an abandoned cart email has been sent
string
Error message if the request fails
Example Request
Example Response
Success Response
Error Response
Error Codes
Notes
- If the user has no cart, the response will return
nullfor the data field - Only non-deleted products are included in the cart items
- Product details are fully populated in the response