Core GraphQL APIReferenceObjects
DiscountValue
type
DiscountValueFields
- fields
amount?FloatPercentage (0-100) or fixed amount. Ignored for FREE.
maxAmount?FloatUpper bound for a percentage discount. Empty means no cap.
type*DiscountValueType!Value in
FIXED_AMOUNTFREEPERCENTAGEUsages
- Field of
Discount.valueDiscountGetsRule.value
type DiscountValue { amount: Float maxAmount: Float type: DiscountValueType!}