Skip to main content

startOrderProcessing

Records that work on the order has started and moves it to the in_progress state. Shopware's default order state machine starts an open order only; from any other state the mutation fails with CONFLICT. Does nothing when the order is already in_progress. Fires the flows configured for the state change. Returns the order.

Required scopes​

The token needs the orders:write access scope.

startOrderProcessing(
id: ID!
): Order!

Arguments​

startOrderProcessing.id ● ID! non-null scalar​

ID of the order to start processing.

Type​

Order object​

A customer order.