Anchor to discountRedeemCodeBulkAdddiscount
mutationdiscount Redeem Code Bulk Add
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: 250 codes.
- Anchor to discountIddiscount•ID!required
Id 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•Discount
Creation Redeem Code Bulk 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•[Discount
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?