Fulfillment Order Move Fulfillment Order Move User Error
Represents a user error that occurs while moving a fulfillment order.
Anchor to FieldsFields
- code (FulfillmentOrderMoveFulfillmentOrderMoveUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Fulfillment
Order Move Fulfillment Order Move User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- fulfillmentOrderMove (FulfillmentOrderMovePayload)
- •mutation
Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.
Moving a fulfillment order will fail in the following circumstances:
- The fulfillment order is closed.
- The fulfillment order has had progress manually reported. To move a fulfillment order that has had progress manually reported, the fulfillment order must first be marked as open resolving the ongoing progress state.
- The destination location doesn't stock the requested inventory item.
- The API client doesn't have the correct permissions.
Line items which have already been fulfilled can't be re-assigned and will always remain assigned to the original location.
You can't change the assigned location while a fulfillment order has a request status of
,,, or. These request statuses mean that a fulfillment order is awaiting action by a fulfillment service and can't be re-assigned without first having the fulfillment service accept a cancellation request. This behavior is intended to prevent items from being fulfilled by multiple locations or fulfillment services.How re-assigning line items affects fulfillment orders
First scenario: Re-assign all line items belonging to a fulfillment order to a new location.
In this case, the assignedLocation of the original fulfillment order will be updated to the new location.
Second scenario: Re-assign a subset of the line items belonging to a fulfillment order to a new location. You can specify a subset of line items using the
parameter (available as of the2023-04API version), or specify that the original fulfillment order contains line items which have already been fulfilled.If the new location is already assigned to another active fulfillment order, on the same order, then a new fulfillment order is created. The existing fulfillment order is closed and line items are recreated in a new fulfillment order.
- •ID!required
The ID of the fulfillment order to be moved.
- Anchor to newLocationIdnew•ID!
Location Id required The ID of the location where the fulfillment order will be moved.
- Anchor to fulfillmentOrderLineItemsfulfillment•[Fulfillment
Order Line Items Order Line Item Input!] The fulfillment order line items to be moved. If left blank, all unfulfilled line items belonging to the fulfillment order are moved.
Arguments