Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountRedeemCodeBulkCreation
The properties and status of a bulk discount redeem code creation operation.
Signature:
export interface DiscountRedeemCodeBulkCreation extends Node
Extends: Node
| Property | Modifiers | Type | Description |
|---|---|---|---|
| codes | DiscountRedeemCodeBulkCreationCodeConnection | The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation. | |
| codesCount | Scalars[‘Int’][‘output’] | The number of codes to create. | |
| createdAt | Scalars[‘DateTime’][‘output’] | The date and time when the bulk creation was created. | |
| discountCode? | Maybe<DiscountCodeNode> | (Optional) The code discount associated with the created codes. | |
| done | Scalars[‘Boolean’][‘output’] | Whether the bulk creation is still queued (false) or has been run (true). |
|
| failedCount | Scalars[‘Int’][‘output’] | The number of codes that weren’t created successfully. | |
| id | Scalars[‘ID’][‘output’] | A globally-unique ID. | |
| importedCount | Scalars[‘Int’][‘output’] | The number of codes created successfully. |