Skip to main content
Log inSign up
Anchor to DiscountRedeemCodeBulkCreation

DiscountRedeemCodeBulkCreation

object

Requires Apps must have read_discounts access scope.

The properties and status of a bulk discount redeem code creation operation.

Anchor to Fields and connectionsFields and connections

•

The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation.

•
Int!non-null

The number of codes to create.

•
DateTime!non-null

The date and time when the bulk creation was created.

•

The code discount associated with the created codes.

•
Boolean!non-null

Whether the bulk creation is still queued (false) or has been run (true).

•
Int!non-null

The number of codes that weren't created successfully.

•
ID!non-null

A globally-unique ID.

•
Int!non-null

The number of codes created successfully.


Was this section helpful?

•
query

Returns a bulk code creation resource by ID.


Was this section helpful?

•
mutation

Asynchronously add discount codes in bulk that customers can use to redeem a discount. You can use the discountRedeemCodeBulkAdd mutation to automate the distribution of discount codes through emails or other marketing channels.


Was this section helpful?

•
interface

Was this section helpful?