Skip to main content
Anchor to ScriptDiscountApplication

ScriptDiscountApplication

object

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

•DiscountApplicationAllocationMethod!

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

•DiscountApplicationTargetSelection!

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!

The type of line that the discount is applicable towards.

•String!

The title of the application as defined by the Script.

•PricingValue!

The value of the discount application.


Was this section helpful?


Was this section helpful?