Discount object
Attributes
Attribute (all required) | Type | Description |
---|---|---|
name | string | Discount display name |
code | string | Discount code name (i.e. TIPTOP15) |
discountAmount | int | The discount total amount in cents |
Example
JSON
{
"name": "Summer Sale Discount",
"code": "SUMMER2024",
"discountAmount": 1000
}