Skip to main content

orderFulfillmentCancel Mutation

Cancels existing fulfillment and optionally restocks items.

Requires the MANAGE_ORDERSpermission.
orderFulfillmentCancel(
id: ID!
input: FulfillmentCancelInput
): FulfillmentCancel
Details
type FulfillmentCancel {
fulfillment: Fulfillment
order: Order
orderErrors: [OrderError!]! @deprecated
errors: [OrderError!]!
}

Arguments​

id ● ID!​

ID of a fulfillment to cancel.

input ● FulfillmentCancelInput​

Fields required to cancel a fulfillment.

Type​

FulfillmentCancel​

Cancels existing fulfillment and optionally restocks items.

Requires the MANAGE_ORDERSpermission.