Skip to main content

bulkDeleteOrders

Permanently deletes a batch of V2 orders and everything derived from them (fulfillments, shipments, released inventory, tags, notes, ...).

Runs asynchronously: returns a process_id immediately and reports the outcome through the process_status_updates subscription. A background job deletes each order independently — a not-found order counts as a skip, and a failed one is recorded without stopping the rest; the process closes as finished or failed with per-order counts. Deleting here does NOT remove the orders in their source systems. See deleteOrder for the single-order behavior.

Requirements​

  • User must have orders:delete_order permission
bulkDeleteOrders(
input: BulkDeleteOrdersInput!
): AsynchronousActionResponse!

Arguments​

bulkDeleteOrders.input ● BulkDeleteOrdersInput! non-null input common​

Parameters for BulkDeleteOrders

Type​

AsynchronousActionResponse object common​

Asynchronous action response type