Skip to navigation

Get cart info

Get information about a specific cart.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

store_idstringRequired
The store id.
cart_idstringRequired
The id for the cart.

Query parameters

fieldslist of stringsOptional

A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.

exclude_fieldslist of stringsOptional

A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

Response

This endpoint returns an object.
campaign_idstringOptional
A string that uniquely identifies the campaign associated with a cart.
checkout_urlstringOptional

The URL for the cart. This parameter is required for Abandoned Cart automations.

created_atdatetimeOptionalRead-only
The date and time the cart was created in ISO 8601 format.
currency_codestringOptional

The three-letter ISO 4217 code for the currency that the cart uses.

customerobjectOptional
Information about a specific customer.
idstringOptionalRead-only
A unique identifier for the cart.
lineslist of objectsOptional
An array of the cart's line items.
order_totaldoubleOptional
The order total for the cart.
tax_totaldoubleOptional
The total tax for the cart.
updated_atdatetimeOptionalRead-only
The date and time the cart was last updated in ISO 8601 format.