Skip to main content

reopenOrderDelivery

Resets the order's primary delivery to the open state, e.g. to take back a shipment, return or cancellation recorded by mistake. Reopening a shipped, returned, returned_partially or cancelled delivery creates fulfillment orders again for the quantities that are still to be shipped, unless the order is cancelled or completed or managed by an external system. Shopware's default delivery state machine reopens a delivery from every other state. Fails with CONFLICT when the order has no delivery. Does nothing when the delivery is already open. Fires the flows configured for the state change. Returns the order.

Required scopes​

The token needs the orders:write access scope.

reopenOrderDelivery(
id: ID!
): Order!

Arguments​

reopenOrderDelivery.id ● ID! non-null scalar​

ID of the order whose delivery to reopen.

Type​

Order object​

A customer order.