Anchor to discountRedeemCodeBulkAdddiscount
discount Redeem Code Bulk Add
mutation
Requires Apps must have access scope.
Asynchronously add
discount codes
in bulk that customers can use to redeem a discount. You can use the mutation
to automate the distribution of discount codes through emails or other
marketing channels.
Anchor to Arguments
Arguments
- Anchor to codescodes•[Discount
Redeem Code Input!]!required The list of codes to associate with the code discount. Maximum: 100 codes.
- Anchor to discountIddiscount•
Id ID!required The ID of the
object that the codes will be added to. For example,
. You can use the
query to retrieve the ID.
Was this section helpful?
- Anchor to bulkCreationbulk•
Creation The ID of bulk operation that creates multiple unique discount codes. You can use the
query to track the status of the bulk operation.
- Anchor to userErrorsuser•
Errors [DiscountUser Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?