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

CalculatedDiscountApplication object

Version unstable

Fields

cursor (String!)

A cursor for use in pagination.

node (CalculatedDiscountApplication!)

The item at the end of CalculatedDiscountApplicationEdge.

Types that return CalculatedDiscountApplication

Version unstable

A discount application involved in order editing that might be newly added or have new changes applied.

Fields

allocationMethod (DiscountApplicationAllocationMethod!)

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

appliedTo (DiscountApplicationLevel!)

The level at which the discount was applied.

description (String)

The description of discount application. Indicates the reason why the discount was applied.

id (ID!)

Globally unique identifier.

targetSelection (DiscountApplicationTargetSelection!)

How the discount amount is distributed on the discounted lines.

targetType (DiscountApplicationTargetType!)

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

value (PricingValue!)

The value of the discount application.

Types that implement CalculatedDiscountApplication

Version 2021-01 (Release candidate)

On this page

Fields

edges ([CalculatedDiscountApplicationEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2021-01 (Release candidate)

Fields

cursor (String!)

A cursor for use in pagination.

node (CalculatedDiscountApplication!)

The item at the end of CalculatedDiscountApplicationEdge.

Types that return CalculatedDiscountApplicationEdge

Version 2021-01 (Release candidate)

A discount application involved in order editing that might be newly added or have new changes applied.

Fields

allocationMethod (DiscountApplicationAllocationMethod!)

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

appliedTo (DiscountApplicationLevel!)

The level at which the discount was applied.

description (String)

The description of discount application. Indicates the reason why the discount was applied.

id (ID!)

Globally unique identifier.

targetSelection (DiscountApplicationTargetSelection!)

How the discount amount is distributed on the discounted lines.

targetType (DiscountApplicationTargetType!)

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

value (PricingValue!)

The value of the discount application.

Types that implement CalculatedDiscountApplication

Version 2020-10 (Latest)

On this page

Fields

edges ([CalculatedDiscountApplicationEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2020-10 (Latest)

Fields

cursor (String!)

A cursor for use in pagination.

node (CalculatedDiscountApplication!)

The item at the end of CalculatedDiscountApplicationEdge.

Types that return CalculatedDiscountApplicationEdge

Version 2020-10 (Latest)

A discount application involved in order editing that might be newly added or have new changes applied.

Fields

allocationMethod (DiscountApplicationAllocationMethod!)

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

appliedTo (DiscountApplicationLevel!)

The level at which the discount was applied.

description (String)

The description of discount application. Indicates the reason why the discount was applied.

id (ID!)

Globally unique identifier.

targetSelection (DiscountApplicationTargetSelection!)

How the discount amount is distributed on the discounted lines.

targetType (DiscountApplicationTargetType!)

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

value (PricingValue!)

The value of the discount application.

Types that implement CalculatedDiscountApplication