DiscountAmountInput input object

Version unstable

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

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 2021-10 (Release candidate)

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

Input fields

  • amount (Decimal)

    The value of the discount.