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