Skip to main content
GET
This endpoint retrieves the current state of a shopping cart, including all items, calculated totals, and applied discounts.

Authentication

This endpoint requires a valid API key with carts:read permissions.

Path Parameters

string
required
The unique identifier of the cart

Query Parameters

array
Expand related objects: “items.product”, “customer”, “shipping_methods”
boolean
Calculate available shipping methods (requires shipping address)
boolean
Calculate tax amount (requires shipping address)

Response

Returns the cart object if found.