OrderDiscountCodes
Lists discount codes applied to orders, including the code, source price rule, and allocation details.
Columns
| Name | Type | References | Description |
| OrderId [KEY] | Long |
Orders.Id | The unique numeric identifier of the order to which the discount code was applied. |
| OrderUpdatedAt | Datetime | The date and time when the order containing the discount code was last updated. | |
| Code [KEY] | String | The discount code entered by the customer at checkout. This value is case-insensitive. | |
| Amount | String | The total discount amount applied to the order as a result of this code. | |
| Type | String | The type of discount represented by the code, such as percentage, fixed_amount, or shipping. |