Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceObjects

DiscountBuysRule

typeDiscountBuysRule

Fields

  1. fields
collectionIds?[String!]
minAmount?Float

Spend on qualifying items the customer must reach.

minQuantity?Int

Units the customer must buy. Used when minAmount is empty.

productIds?[String!]
scope*DiscountItemScope!
Value inALLCOLLECTIONSPRODUCTS

Usages

Field of
DiscountBuyXGetY.buys
SDL
type DiscountBuysRule {  collectionIds: [String!]  minAmount: Float  minQuantity: Int  productIds: [String!]  scope: DiscountItemScope!}