draftOrderBulkDelete - admin-graphql - MUTATION
Version: 2025-01
Description:
Deletes multiple draft orders.
Access Scopes
`write_draft_orders` access scope. Also: The user must have access to delete multiple draft orders.
Arguments
-
ids:
ID -
The IDs of the draft orders to delete.
-
savedSearchId:
ID -
The ID of the draft order saved search for filtering draft orders on.
-
search:
String -
The conditions for filtering draft orders on.
See the detailed [search syntax](https://shopify.dev/api/usage/search-syntax).
Returns
-
job:
Job
The asynchronous job for deleting the draft orders.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples