Skip to main content

deleteFulfillmentOrders

deleteFulfillmentOrders

Delete one or more fulfillment orders. Supports partial success — returns successfully deleted fulfillment orders alongside IDs that could not be deleted with the reason. Maximum 100 IDs per request.

Parameters

fulfillmentOrderIdsrequired[ID!]!

List of fulfillment order IDs to delete (max 100)

Returns

DeleteFulfillmentOrdersResult with successfully deleted fulfillment orders and error details for orders that could not be deleted

Return Type

The mutation returns a DeleteFulfillmentOrdersResult object that supports partial success: some fulfillment orders may be deleted while others fail.

FieldTypeDescription
fulfillmentOrders[FulfillmentOrder!]!Successfully deleted fulfillment orders
errorDeleteFulfillmentOrdersErrorIDs grouped by reason for failure

DeleteFulfillmentOrdersError

FieldTypeDescription
alreadyLabelledIds[ID!]!Fulfillment orders that already have a label generated
inCollectIds[ID!]!Fulfillment orders currently assigned to a collect
statusNotAllowedIds[ID!]!Fulfillment orders with a status that prevents deletion
notFoundIds[ID!]!Fulfillment order IDs not found