We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

DiscountItemsInput

Version 2019-04

Specifies the items attached to a discount.

Show definition
"""
Specifies the items attached to a discount.
"""
input DiscountItemsInput {
  """
  Whether all items should be selected.
  """
  all: Boolean
  """
  The collections that are attached to a discount.
  """
  collections: DiscountCollectionsInput
  """
  The products and product variants that are attached to a discount.
  """
  products: DiscountProductsInput
}

Input Fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2019-07 (Latest)

Specifies the items attached to a discount.

Show definition
"""
Specifies the items attached to a discount.
"""
input DiscountItemsInput {
  """
  Whether all items should be selected.
  """
  all: Boolean
  """
  The collections that are attached to a discount.
  """
  collections: DiscountCollectionsInput
  """
  The products and product variants that are attached to a discount.
  """
  products: DiscountProductsInput
}

Input Fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Version 2019-10 (Release candidate)

Specifies the items attached to a discount.

Show definition
"""
Specifies the items attached to a discount.
"""
input DiscountItemsInput {
  """
  Whether all items should be selected.
  """
  all: Boolean
  """
  The collections that are attached to a discount.
  """
  collections: DiscountCollectionsInput
  """
  The products and product variants that are attached to a discount.
  """
  products: DiscountProductsInput
}

Input Fields

all (Boolean)

Whether all items should be selected.

collections (DiscountCollectionsInput)

The collections that are attached to a discount.

products (DiscountProductsInput)

The products and product variants that are attached to a discount.

Sign up for a Partner account to get started.

Sign up