fulfillment Order Cancel
Requires access scope or access scope. Also: The user must have fulfill_and_ship_orders permission.
Cancels a and creates a replacement fulfillment order to represent the work left to be done. The original fulfillment order will be marked as closed.
This mutation works when the fulfillment order has a or status. For orders, cancellation happens immediately because the fulfillment service hasn't accepted the request.
Orders that have had cancellation requested but the cancellation has yet to be accepted by the fulfillment service might still have work completed despite cancellation.
Arguments
- •ID!required
The ID of the fulfillment order to mark as canceled.
- Anchor to fulfillmentOrderfulfillment•Fulfillment
Order Order The fulfillment order that was marked as canceled.
- Anchor to replacementFulfillmentOrderreplacement•Fulfillment
Fulfillment Order Order The fulfillment order that was created to replace the canceled fulfillment order.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.