Skip to main content
Anchor to discountBulkTagsRemove

discountBulkTagsRemove

mutation

Requires Apps must have write_discounts access scope.

Removes tags from multiple discounts asynchronously using one of the following:

  • A search query
  • A saved search ID
  • A list of discount IDs

For example, you can delete tags from price rules that match a search criteria, or delete tags from a predefined set of price rules.

•[ID!]

The IDs of the discounts to untag.

•ID

The ID of the saved search for filtering discounts to remove tags from.

•String

The search query for filtering discounts.

For more information on the list of supported fields and search syntax, refer to the discountNodes query.

•[String!]!
required

The tags to remove from the discounts.


Was this section helpful?

Anchor to DiscountBulkTagsRemovePayload returnsDiscountBulkTagsRemovePayload returns

•Job

The asynchronous job that removes the tags.

•[DiscountUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?