Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceObjects

DiscountValue

typeDiscountValue

Fields

  1. fields
amount?Float

Percentage (0-100) or fixed amount. Ignored for FREE.

maxAmount?Float

Upper bound for a percentage discount. Empty means no cap.

type*DiscountValueType!
Value inFIXED_AMOUNTFREEPERCENTAGE

Usages

Field of
Discount.valueDiscountGetsRule.value
SDL
type DiscountValue {  amount: Float  maxAmount: Float  type: DiscountValueType!}