DiscountAmount object

Version 2020-10 (Release candidate)

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

On this page

Fields

amount (MoneyV2!)

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 2020-07 (Latest)

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

On this page

Fields

amount (MoneyV2!)

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 2020-04

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

On this page

Fields

amount (MoneyV2!)

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 2020-01

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

On this page

Fields

amount (MoneyV2!)

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

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

On this page

Fields

amount (MoneyV2!)

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-07 (Unsupported)

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

On this page

Fields

amount (MoneyV2!)

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-04 (Unsupported)

The fixed amount value of a discount.

Required access

Apps must have read_discounts access scope.

Fields

amount (MoneyV2!)

The value of the discount.

Deprecated fields

each (Boolean!) deprecated

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.

Deprecation warning

Use appliesOnEachItem instead