Discount Object
Attributes
| Attribute | Type | Description |
|---|---|---|
displayName | string required | A display name for the discount. Limited to 128 characters. |
amount | Money required | The discount amount. |
Australia
1 { 2 "displayName": "New Customer Coupon", 3 "amount": { 4 "amount": "29.99", 5 "currency": "AUD" 6 } 7 }
New Zealand
1 { 2 "displayName": "New Customer Coupon", 3 "amount": { 4 "amount": "29.99", 5 "currency": "NZD" 6 } 7 }
United States of America
1 { 2 "displayName": "New Customer Coupon", 3 "amount": { 4 "amount": "29.99", 5 "currency": "USD" 6 } 7 }