Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceObjects

DiscountBuyXGetY

typeDiscountBuyXGetY

Fields

  1. fields
buys*
gets*
maxUsesPerOrder?Int

How many times the offer can apply in one order.

Usages

Field of
Discount.buyXGetY
SDL
type DiscountBuyXGetY {  buys: DiscountBuysRule!  gets: DiscountGetsRule!  maxUsesPerOrder: Int}