Admin API / Types
DiscountRewardInput
InputThe discount that a code gives. Set exactly one field.
input DiscountRewardInputInput fields
| Field | Type | Description |
|---|---|---|
amountOff | MoneyInput | A fixed amount off the order, in the store currency: above 0, with at most 2 decimal places and 15 digits. Another currency gives CurrencyMismatchError. |
freeShippingCountries | [ShippingCountry!] | Free shipping to one or more of AU, CA, GB and US, each one time. ROW fails with VALIDATION_ERROR: checkout compares each value with the buyer's country. |
percentageOff | PositiveInt | A whole percent off the order subtotal, from 1 to 100. |