Skip to main content

fulfillFulfillmentOrder

Fulfills the given quantities of a fulfillment order from one warehouse of its location: the stock is booked out and a fulfillment is created, while the rest stays open in the fulfillment order. Only a fulfillment order in state Open or InProgress that is fulfilled in Pickware can be fulfilled. A quantity above the quantity still to fulfill or above the stock in the warehouse fails the mutation, and nothing is fulfilled. For an order that an external shop system such as Shopify manages, the fulfillment is reported to that system as well; when it rejects the fulfillment, nothing is fulfilled. Line items left out or with quantity 0 are not fulfilled; when nothing is to be fulfilled, the fulfillment order is returned unchanged. The order's delivery status and the flows react as when shipping in the Administration. Returns the fulfillment order, whose fulfillments include the one created.

Required scopes​

The token needs the fulfillment_orders:write access scope.

fulfillFulfillmentOrder(
fulfillmentOrderId: ID!
warehouseId: ID!
lineItems: [FulfillmentOrderLineItemQuantityInput!]!
): FulfillmentOrder!

Arguments​

fulfillFulfillmentOrder.fulfillmentOrderId ● ID! non-null scalar​

ID of the fulfillment order to fulfill.

fulfillFulfillmentOrder.warehouseId ● ID! non-null scalar​

ID of the warehouse of the fulfillment order's location to take the stock from.

fulfillFulfillmentOrder.lineItems ● [FulfillmentOrderLineItemQuantityInput!]! non-null input​

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).