Skip to main content
mutation

Requires Apps must have write_discounts 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.

•[ID!]

The IDs of the discounts to tag.

•ID

The ID of the saved search for filtering discounts to tag.

•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 add to the discounts.


Was this section helpful?

Anchor to DiscountBulkTagsAddPayload returnsDiscountBulkTagsAddPayload returns

•Job

The asynchronous job that adds the tags.

•[DiscountUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?