Skip to main content

updateOrderLineItem

Sets the quantity and the final price of a line item of an order created through placeOrder or importOrder. The order totals are derived again from the line items and the shipping costs, while the amount of the order's payment stays as it is. Fails with CONFLICT for an order created in any other way and once the fulfillment of the order has started (see updateOrder). Returns the order.

Required scopes​

The token needs the orders:write access scope.

updateOrderLineItem(
input: UpdateOrderLineItemInput!
): Order!

Arguments​

updateOrderLineItem.input ● UpdateOrderLineItemInput! non-null input​

Type​

Order object​

A customer order.