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.
| Field | Type | Description |
|---|---|---|
| fulfillmentOrders | [FulfillmentOrder!]! | Successfully deleted fulfillment orders |
| error | DeleteFulfillmentOrdersError | IDs grouped by reason for failure |
DeleteFulfillmentOrdersError
| Field | Type | Description |
|---|---|---|
| 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 |