Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

DiscountValue

typeDiscountValue

Fields

  1. fields
type*DiscountValueType!
Value inPERCENTAGEFIXED_AMOUNTFREE
amount?Float

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

maxAmount?Float

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

Usages

SDL
type DiscountValue {  type: DiscountValueType!  amount: Float  maxAmount: Float}