Skip to main content
Anchor to FulfillmentOrderCancelPayload

FulfillmentOrderCancelPayload

payload

Return type for fulfillmentOrderCancel mutation.

•FulfillmentOrder

The fulfillment order that was marked as canceled.

Anchor to replacementFulfillmentOrderreplacementFulfillmentOrder
•FulfillmentOrder

The fulfillment order that was created to replace the canceled fulfillment order.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Cancels a FulfillmentOrder 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 SUBMITTED or CANCELLATION_REQUESTED status. For SUBMITTED orders, cancellation happens immediately because the fulfillment service hasn't accepted the request.


Note

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.



Was this section helpful?