Skip to main content
Anchor to DiscountApplicationTargetSelection

DiscountApplicationTargetSelection

enum

The lines on the order to which the discount is applied, of the type defined by the discount application's targetType. For example, the value ENTITLED, combined with a targetType of LINE_ITEM, applies the discount on all line items that are entitled to the discount. The value ALL, combined with a targetType of SHIPPING_LINE, applies the discount on all shipping lines.

The discount is allocated onto all the lines.

The discount is allocated onto only the lines that it's entitled for.

The discount is allocated onto explicitly chosen lines.


Was this section helpful?

•OBJECT

Captures the intentions of a discount that was automatically applied.

•INTERFACE

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

•OBJECT

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

•OBJECT

Captures the intentions of a discount that was manually created.

•OBJECT

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


Was this section helpful?