Skip to main content

reopenOrder

Takes back the cancellation or completion of an order and moves it to the open state. Shopware's default order state machine reopens a cancelled or completed order only; from any other state the mutation fails with CONFLICT. Reopening creates fulfillment orders again for the quantities that are still to be shipped, unless the order's primary delivery is cancelled or shipped. A delivery or payment that was cancelled together with the order stays cancelled. Does nothing when the order is already open. Fires the flows configured for the state change. Returns the order.

Required scopes​

The token needs the orders:write access scope.

reopenOrder(
id: ID!
): Order!

Arguments​

reopenOrder.id ● ID! non-null scalar​

ID of the order to reopen.

Type​

Order object​

A customer order.