draftOrderBulkAddTags - admin-graphql - MUTATION
Version: 2024-10
Description:
Adds tags to multiple draft orders.
Access Scopes
`write_draft_orders` access scope. Also: The user must have access to manage draft orders.
Arguments
-
ids:
ID -
The IDs of the draft orders to add tags to.
-
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).
-
tags:
String! -
List of tags to be added.
Returns
-
job:
Job
The asynchronous job for adding tags to the draft orders.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples