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.

DiscountAmountInput

Version 2019-04

Specifies the value of the discount and how it is applied.

Show definition
"""
Specifies the value of the discount and how it is applied.
"""
input DiscountAmountInput {
  """
  The value of the discount.
  """
  amount: Decimal
  """
  If true, then the discount is applied to each of the entitled items. If false,
  then the amount is split across all of the entitled items. This argument is
  deprecated: Use `applies_on_each_item` instead.
  """
  each: Boolean
}

Input Fields

amount (Decimal)

The value of the discount.

each (Boolean)

If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. This argument is deprecated: Use applies_on_each_item instead.

Version 2019-07 (Latest)

Specifies the value of the discount and how it is applied.

Show definition
"""
Specifies the value of the discount and how it is applied.
"""
input DiscountAmountInput {
  """
  The value of the discount.
  """
  amount: Decimal
  """
  If true, then the discount is applied to each of the entitled items. If false,
  then the amount is split across all of the entitled items.
  """
  appliesOnEachItem: Boolean
}

Input Fields

amount (Decimal)

The value of the discount.

appliesOnEachItem (Boolean)

If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Version 2019-10 (Release candidate)

Specifies the value of the discount and how it is applied.

Show definition
"""
Specifies the value of the discount and how it is applied.
"""
input DiscountAmountInput {
  """
  The value of the discount.
  """
  amount: Decimal
  """
  If true, then the discount is applied to each of the entitled items. If false,
  then the amount is split across all of the entitled items.
  """
  appliesOnEachItem: Boolean
}

Input Fields

amount (Decimal)

The value of the discount.

appliesOnEachItem (Boolean)

If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.

Sign up for a Partner account to get started.

Sign up