Requires write_discounts access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Asynchronously activate code discounts in bulk using a search query or a list of code discount IDs.
Arguments
search ● String
The search query for filtering code discounts.
ids ● [ID]
The IDs of the code discounts to activate.
Return
job ● Job
The asynchronous job that activates the code discounts.
More
userErrors ● [DiscountUserError!]!non-null
The list of errors that occurred from executing the mutation.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?