Storefront GraphQL APIReferenceObjects
DiscountBuysRule
type
DiscountBuysRuleFields
- fields
scope*DiscountItemScope!Value in
ALLPRODUCTSCOLLECTIONSproductIds?[String!]collectionIds?[String!]minQuantity?IntUnits the customer must buy. Used when minAmount is empty.
minAmount?FloatSpend on qualifying items the customer must reach.
Usages
- Field of
DiscountBuyXGetY.buys
type DiscountBuysRule { scope: DiscountItemScope! productIds: [String!] collectionIds: [String!] minQuantity: Int minAmount: Float}