get

/carts/{cartId}

Returns a stores Cart.

Authorization

apiKey - X-Auth-Client
apiKey - X-Auth-Token

Request Parameters

1 Path Parameter
1 Query Parameter
2 Headers

Responses

1 Example
Schema
object

A cart contains a collection of items, prices, discounts, etc… It does not contain customer-related data.

id
string

Cart ID, provided after creating a cart with a POST.

1 validation
parent_id
string

Bundled items will have their parent’s item Id.

customer_id
integer

ID of the customer to which the cart belongs.

email
string

The cart’s email. This is the same email that is used in the billing address

currency
object

This will always be the same between cart and checkout.

tax_included
boolean
base_amount
number

Cost of cart’s contents, before applying discounts.

discount_amount
number

Discounted amount.

cart_amount
number

Sum of line-items amounts, minus cart-level discounts and coupons. This amount includes taxes (where applicable).

coupons
array[object]
discounts
array[object]
line_items
array[object]
created_time
string

Time when the cart was created.

1 validation
updated_time
string

Time when the cart was last updated.

1 validation
channel_id
integer

If no channel is specified, defaults to 1.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
cartId
$$.env
2 variables not set
store_hash
X-Auth-Client
X-Auth-Token