fulfillment Cancel
Cancels an existing Fulfillment and reverses its effects on associated 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.
Arguments
- •ID!required
The ID of the fulfillment to be canceled.
- Anchor to fulfillmentfulfillment•Fulfillment
The canceled fulfillment.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.