Skip to main content

markOrderAsPartiallyShipped

Records that part of the order was shipped and moves its primary delivery to the shipped_partially state. This only records the shipment and does not take stock out of the warehouse: to do both, ship the stock first, e.g. with shipOrderCompletely, and call this mutation afterwards. The order's fulfillment orders stay as they are. Shopware's default delivery state machine partially ships an open delivery only; from any other state the mutation fails with CONFLICT. Fails with CONFLICT when the order has no delivery. Does nothing when the delivery is already shipped_partially. Fires the flows configured for the state change. Returns the order.

Required scopes​

The token needs the orders:write access scope.

markOrderAsPartiallyShipped(
id: ID!
): Order!

Arguments​

markOrderAsPartiallyShipped.id ● ID! non-null scalar​

ID of the order to mark as partially shipped.

Type​

Order object​

A customer order.