Skip to main content
Anchor to ScriptDiscountApplication

ScriptDiscountApplication

object

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

•DiscountApplicationAllocationMethod!non-nullPre-auth accessible

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

•DiscountApplicationTargetSelection!non-nullPre-auth accessible

The lines of targetType that the discount is allocated over.

•DiscountApplicationTargetType!non-nullPre-auth accessible

The type of line that the discount is applicable towards.

•String!non-nullPre-auth accessible

The title of the application as defined by the Script.

•PricingValue!non-nullPre-auth accessible

The value of the discount application.


Was this section helpful?


Was this section helpful?