Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

DiscountGetsRule

typeDiscountGetsRule

Fields

  1. fields
scope*DiscountItemScope!
Value inALLPRODUCTSCOLLECTIONS
productIds?[String!]
collectionIds?[String!]
quantity*Int!
value*

Usages

Field of
DiscountBuyXGetY.gets
SDL
type DiscountGetsRule {  scope: DiscountItemScope!  productIds: [String!]  collectionIds: [String!]  quantity: Int!  value: DiscountValue!}