DiscountCodes
Create, select, update, and delete information regarding discount codes.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Long | True |
A unique numeric identifier for the discount code. | |
| PriceRuleId [KEY] | Long | False |
PriceRules.Id |
The Id for the price rule that this discount code belongs to. |
| Code | String | False |
The case-insensitive discount code that customers use at checkout. | |
| UsageCount | Int | True |
The number of times that the discount code has been redeemed. | |
| CreatedAt | Datetime | True |
The date and time when the discount code was created. | |
| UpdatedAt | Datetime | True |
The date and time when the discount code was last modified. |