moveFulfillmentOrderToLocation
Moves a fulfillment order to another location, which then picks and ships it. Only a fulfillment order in state Open that is fulfilled in Pickware and is not being picked can be moved, and stock at the new location is not checked. Moving it to the location it is already assigned to changes nothing. When nothing of the fulfillment order is fulfilled yet, the fulfillment order itself moves. When it is partially fulfilled, its fulfilled quantities stay at the old location and it is closed, and a new fulfillment order at the new location takes over the open quantities. For an order that an external shop system such as Shopify manages, the move is made in that system: only locations connected to it can be chosen, and line items it does not stock at the new location stay at the old one. Returns the fulfillment order that is fulfilled from the new location: the moved one, or the new one.
Required scopes
The token needs the fulfillment_orders:write access scope.
moveFulfillmentOrderToLocation(
fulfillmentOrderId: ID!
locationId: ID!
): FulfillmentOrder!
Arguments
moveFulfillmentOrderToLocation.fulfillmentOrderId ● ID! non-null scalar
ID of the fulfillment order to move.
moveFulfillmentOrderToLocation.locationId ● ID! non-null scalar
ID of the location the fulfillment order is to be fulfilled from.
Type
FulfillmentOrder object
The assignment of an order's line items, in specific quantities, to exactly one location they are to be fulfilled from. One order can have several fulfillment orders, also at the same location. A fulfillment order assigned to a location Pickware does not manage is to be fulfilled externally (type: ExternalToOrder).