Skip to navigation

Get order line item

Get information about a specific order 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.
order_idstringRequired
The id for the order in a store.
line_idstringRequired
The id for the line item of an order.

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.
discountdoubleOptional
The total discount amount applied to a line item.
idstringOptionalRead-only
A unique identifier for an order line item.
image_urlstringOptionalRead-only
The image URL for a product.
pricedouble or stringOptional
product_idstringOptional
A unique identifier for the product associated with an order line item.
product_titlestringOptionalRead-only
The name of the product for an order line item.
product_variant_idstringOptional
A unique identifier for the product variant associated with an order line item.
product_variant_titlestringOptionalRead-only
The name of the product variant for an order line item.
quantityintegerOptional
The order line item quantity.