Anchor to discountBulkTagsAdddiscount
mutationdiscount Bulk Tags Add
Requires Apps must have access scope.
Adds tags to multiple discounts asynchronously using one of the following:
- A search query
- A saved search ID
- A list of discount IDs
For example, you can add tags to price rules that match a search criteria, or add tags to a predefined set of price rules.
Anchor to Arguments
Arguments
- ids ([ID!])
- savedSearchId (ID)
- search (String)
- tags ([String!]!)
- •[ID!]
The IDs of the discounts to tag.
- Anchor to savedSearchIdsaved•ID
Search Id The ID of the saved search for filtering discounts to tag.
- Anchor to searchsearch•String
- •[String!]!required
The tags to add to the discounts.
Was this section helpful?
- job (Job)
- userErrors ([DiscountUserError!]!)
- •Job
The asynchronous job that adds the tags.
- Anchor to userErrorsuser•[Discount
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?