Carts
Retrieve a Cart
Retrieves a cart by its ID. This endpoint can be used to retrieve the details of an existing cart, including the items, quantities, and total price.
GET
/
carts
/
{cartId}
Authorizations
X-API-Key
string
headerrequiredPath Parameters
cartId
string
requiredThe ID of the cart to retrieve.
Response
200 - application/json
id
string
The unique ID of the cart.
totalQuantity
integer
The total quantity of items in the cart.
subTotal
string
The subtotal of the cart (before taxes and fees).
taxTotal
string
The total tax amount.
orderTotal
string
The final order total.
items
object[]
An array of cart items with details.