Anchor to DiscountRedeemCodeBulkAddPayloadDiscount
payloadDiscount Redeem Code Bulk Add Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
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 discountIddiscount•ID!
Id required The ID of the
object that the codes will be added to. For example,. You can use thequery to retrieve the ID.- Anchor to codescodes•[Discount
Redeem Code Input!]! required The list of codes to associate with the code discount. Maximum: 250 codes.
Arguments
Was this section helpful?