API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

DraftOrderAppliedDiscount object

Version unstable

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2021-07 (Release candidate)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2021-04 (Latest)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2021-01

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2020-10

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2020-07

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2020-04 (Unsupported)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2020-01 (Unsupported)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2019-10 (Unsupported)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2019-07 (Unsupported)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead

Version 2019-04 (Unsupported)

The order-level discount applied to a draft order.

Required access

read_draft_orders access scope.

Fields

  • amountV2 (MoneyV2!)

    Amount of money discounted.

  • description (String!)

    Description of the order-level discount.

  • title (String)

    Name of the order-level discount.

  • value (Float!)

    Amount of the order level discount (when value_type is percentage, the value in this field is the percentage discount).

  • Type of the order-level discount.

Types that return DraftOrderAppliedDiscount

Deprecated fields

  • amount (Money!) deprecated

    Amount of the order-level discount that is applied to the draft order.

    Deprecation warning

    Use amountV2 instead