Skip to main content
mutation

Cancels an existing Fulfillment and reverses its effects on associated FulfillmentOrder objects. When you cancel a fulfillment, the system creates new fulfillment orders for the cancelled items so they can be fulfilled again.

The cancellation affects fulfillment orders differently based on their fulfillment status. If a fulfillment order was entirely fulfilled, then it automatically closes. If a fulfillment order is partially fulfilled, then the remaining quantities adjust to include the cancelled items. The system creates new fulfillment orders at the original Location when items are still stocked there, or at alternative locations based on the store's fulfillment priority settings.

Learn more about canceling fulfillments.

ID!
required

The ID of the fulfillment to be canceled.


Was this section helpful?

Anchor to FulfillmentCancelPayload returnsFulfillmentCancelPayload returns

Fulfillment

The canceled fulfillment.

[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?