Skip to navigation

List order line items

Get information about an order’s line items.

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.

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.

countintegerOptional<=1000Defaults to 10
The number of records to return. Default value is 10. Maximum value is 1000
offsetintegerOptionalDefaults to 0

Used for pagination, this is the number of records from a collection to skip. Default value is 0.

Response

This endpoint returns an object.
lineslist of objectsOptional
An array of objects, each representing an order's line item.
order_idstringOptional
The order id.
store_idstringOptional
The store id.
total_itemsintegerOptionalRead-only
The total number of items matching the query regardless of pagination.