Skip to main content

updateOrder

Changes the header of an order created through placeOrder or importOrder: its addresses, shipping method, shipping costs and customer comment. Prices are taken over and never recalculated; 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, i.e. once its picking started, it was put on hold, cancelled or shipped, or a part of it was shipped. Its status can still be changed then. Returns the order.

Required scopes​

The token needs the orders:write access scope.

updateOrder(
input: UpdateOrderInput!
): Order!

Arguments​

updateOrder.input ● UpdateOrderInput! non-null input​

Type​

Order object​

A customer order.