Admin API / Types

DiscountRewardInput

Input

The discount that a code gives. Set exactly one field.

input DiscountRewardInput

Input fields

FieldTypeDescription
amountOffMoneyInputA 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.
percentageOffPositiveIntA whole percent off the order subtotal, from 1 to 100.