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

AutomaticDiscountApplication object

Version unstable

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2021-04 (Release candidate)

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2021-01 (Latest)

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2020-10

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2020-07

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2020-04

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2020-01 (Unsupported)

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2019-10 (Unsupported)

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2019-07 (Unsupported)

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements

Version 2019-04 (Unsupported)

Automatic discount applications capture the intentions of a discount that was automatically applied.

Fields

  • The method by which the discount's value is allocated to its entitled items.

  • index (Int!)

    An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

  • How the discount amount is distributed on the discounted lines.

  • Whether the discount is applied on line items or shipping lines.

  • title (String!)

    The title of the discount application.

  • value (PricingValue!)

    The value of the discount application.

Implements