Anchor to DiscountCodeBulkDeactivatePayloadDiscount
DiscountCodeBulkDeactivatePayload
payload
Return type for mutation.
Anchor to FieldsFields
- •
The asynchronous job that deactivates the discounts.
- Anchor to userErrorsuser•
Errors [DiscountUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Deactivates multiple code-based discounts asynchronously using one of the following:
- A search query
- A saved search ID
- A list of discount code IDs
For example, you can deactivate discounts for all codes that match a search criteria, or deactivate a predefined set of discount codes.
Was this section helpful?