--- title: FulfillmentOrderCancelError - GraphQL Admin description: Represents an error that occurs while cancelling a fulfillment order. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/FulfillmentOrderCancelError md: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/FulfillmentOrderCancelError.md --- # Fulfillment​Order​Cancel​Error object Represents an error that occurs while cancelling a fulfillment order. ## Fields * code [Fulfillment​Order​Cancel​Error​Code](https://shopify.dev/docs/api/admin-graphql/unstable/enums/FulfillmentOrderCancelErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [fulfillment​Order​Cancel](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmentOrderCancel) mutation Cancels a [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/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. *** * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) required ### Arguments The ID of the fulfillment order to mark as canceled. *** *** ## FulfillmentOrderCancelError Mutations ### Mutated by * [fulfillment​Order​Cancel](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmentOrderCancel) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError) interface *** ## FulfillmentOrderCancelError Implements ### Implements * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/DisplayableError)