Skip to navigation

Get cart line item

Get information about a specific cart line item.

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.
line_idstringRequired
The id for the line item of a 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.
idstringOptionalRead-only
A unique identifier for the cart line item.
pricedoubleOptional
The price of a cart line item.
product_idstringOptional
A unique identifier for the product associated with the cart line item.
product_titlestringOptionalRead-only
The name of the product for the cart line item.
product_variant_idstringOptional
A unique identifier for the product variant associated with the cart line item.
product_variant_titlestringOptionalRead-only
The name of the product variant for the cart line item.
quantityintegerOptional
The quantity of a cart line item.