Skip to navigation

Update order line item

Update 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.

Request

Information about a specific order line.
discountdouble or stringOptional
idstringOptional>=1 character
A unique identifier for the order line item.
pricedouble or stringOptional
product_idstringOptional
A unique identifier for the product associated with the order line item.
product_variant_idstringOptional
A unique identifier for the product variant associated with the order line item.
quantityintegerOptional
The quantity of an order line item.

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.