Skip to main content
interface

Requires customer_read_orders access scope or customer_read_draft_orders access scope.

Captures the intentions of a discount source at the time of application.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationTargetSelection!
non-null

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!
non-null

The type of line that the discount is applicable towards.

•PricingValue!
non-null

The value of the discount application.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

Captures the intentions of a discount that was automatically applied.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationTargetSelection!
non-null

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!
non-null

The type of line that the discount is applicable towards.

•String!
non-null

The title of the application.

•PricingValue!
non-null

The value of the discount application.

•OBJECT

Captures the intentions of a discount code at the time that it is applied.

•DiscountApplicationAllocationMethod!
non-null

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

•String!
non-null

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

•DiscountApplicationTargetSelection!
non-null

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!
non-null

The type of line that the discount is applicable towards.

•PricingValue!
non-null

The value of the discount application.

•OBJECT

Captures the intentions of a discount that was manually created.

•DiscountApplicationAllocationMethod!
non-null

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

•String

The description of the application.

•DiscountApplicationTargetSelection!
non-null

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!
non-null

The type of line that the discount is applicable towards.

•String!
non-null

The title of the application.

•PricingValue!
non-null

The value of the discount application.

•OBJECT

Captures the intentions of a discount that was created by a Shopify Script.

•DiscountApplicationAllocationMethod!
non-null

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

•DiscountApplicationTargetSelection!
non-null

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!
non-null

The type of line that the discount is applicable towards.

•String!
non-null

The title of the application as defined by the Script.

•PricingValue!
non-null

The value of the discount application.


Was this section helpful?