Skip to main content
interface

Discount applications capture 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

Which 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

Automatic discount applications capture 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

Which 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

Discount code applications capture 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.

•Boolean!
non-null

Specifies whether the discount code was applied successfully.

•String!
non-null

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

•DiscountApplicationTargetSelection!
non-null

Which 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

Manual discount applications capture 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

Which 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

Script discount applications capture 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

Which 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?