DiscountRedeemCodeBulkCreation
Requires Apps must have access scope.
The properties and status of a bulk discount redeem code creation operation.
Anchor to Fields and connectionsFields and connections
- Anchor to codescodes•
The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation.
- Anchor to codesCountcodes•
Count Int!non-null The number of codes to create.
- Anchor to createdAtcreated•
At DateTime! non-null The date and time when the bulk creation was created.
- Anchor to discountCodediscount•
Code The code discount associated with the created codes.
- Anchor to donedone•Boolean!non-null
Whether the bulk creation is still queued (
false
) or has been run (true
).- Anchor to failedCountfailed•
Count Int!non-null The number of codes that weren't created successfully.
- •ID!non-null
A globally-unique ID.
- Anchor to importedCountimported•
Count Int!non-null The number of codes created successfully.
Map
No referencing types
Anchor to QueriesQueries
- •query
Returns a bulk code creation resource by ID.
DiscountRedeemCodeBulkCreation Queries
Queried by
Anchor to MutationsMutations
- •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.