AppliedDiscount
| Field | Type | Required | Description |
|---|---|---|---|
code |
string |
Code of the coupon. | |
description |
string |
Description of the coupon. | |
label |
string |
Label of the coupon. | |
savedPrice |
object |
yes | Amounts to how much discount the coupon applies in percent or absolute. |
Example
Section titled “Example”{ "code": "20OFF", "description": "Reduces the cost of all products by 20%.", "label": "20% off of all products.", "savedPrice": { "value": 20, "type": "percentage" }}
