Discount entity field reference.
| Field | Type | Desc |
|---|---|---|
| id | string | The unique ID of the discount object |
| discount_name | string | The name of the discount |
| status | string | Discount status:
|
| discount_code | string | Discount code to be applied at checkout |
| discount_method | string | Discount method: Only when set to "discount_code" can a discount code be used:
|
| starts_at | string | Discount start time in UTC format, An empty string means no restriction |
| ends_at | string | Discount end time in UTC format, An empty string means no restriction |
| created_at | string | Creation time, UTC formatted string |
| updated_at | string | Last update time, UTC formatted string |