Skip to main content
Anchor to CalculatedDiscountApplication

CalculatedDiscountApplication

interface

Requires read_order_edits access scope or read_returns access scope.

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

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationLevel!
non-null

The level at which the discount was applied.

•String

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

•ID!
non-null

A globally-unique ID.

•DiscountApplicationTargetSelection!
non-null

How the discount amount is distributed on the discounted lines.

•DiscountApplicationTargetType!
non-null

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

•PricingValue!
non-null

The value of the discount application.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A discount that is automatically applied to an order that is being edited.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationLevel!
non-null

The level at which the discount was applied.

•String

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

•ID!
non-null

A globally-unique ID.

•DiscountApplicationTargetSelection!
non-null

How the discount amount is distributed on the discounted lines.

•DiscountApplicationTargetType!
non-null

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

•PricingValue!
non-null

The value of the discount application.

•OBJECT

A discount code that is applied to an order that is being edited.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationLevel!
non-null

The level at which the discount was applied.

•String!
non-null

The string identifying the discount code that was used at the time of application.

•String

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

•ID!
non-null

A globally-unique ID.

•DiscountApplicationTargetSelection!
non-null

How the discount amount is distributed on the discounted lines.

•DiscountApplicationTargetType!
non-null

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

•PricingValue!
non-null

The value of the discount application.

•OBJECT

Represents a discount that was manually created for an order that is being edited.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationLevel!
non-null

The level at which the discount was applied.

•String

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

•ID!
non-null

A globally-unique ID.

•DiscountApplicationTargetSelection!
non-null

How the discount amount is distributed on the discounted lines.

•DiscountApplicationTargetType!
non-null

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

•PricingValue!
non-null

The value of the discount application.

•OBJECT

A discount created by a Shopify script for an order that is being edited.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationLevel!
non-null

The level at which the discount was applied.

•String

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

•ID!
non-null

A globally-unique ID.

•DiscountApplicationTargetSelection!
non-null

How the discount amount is distributed on the discounted lines.

•DiscountApplicationTargetType!
non-null

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

•PricingValue!
non-null

The value of the discount application.


Was this section helpful?