Discount Application Target Selection
The lines on the order to which the discount is applied, of the type defined by
the discount application's . For example, the value
, combined with a
of
, applies the discount on all line items that are entitled to the discount.
The value
, combined with a
of
, applies the discount on all shipping lines.
Anchor to Valid valuesValid values
The discount is allocated onto all the lines.
- Anchor to ENTITLEDENTITLED
The discount is allocated onto only the lines that it's entitled for.
- Anchor to EXPLICITEXPLICIT
The discount is allocated onto explicitly chosen lines.
Anchor to FieldsFields
- •OBJECT
Automatic discount applications capture the intentions of a discount that was automatically applied.
- Anchor to CalculatedAutomaticDiscountApplication.targetSelectionCalculated•OBJECT
Automatic Discount Application. target Selection A discount that is automatically applied to an order that is being edited.
- Anchor to CalculatedDiscountApplication.targetSelectionCalculated•INTERFACE
Discount Application. target Selection A discount application involved in order editing that might be newly added or have new changes applied.
- Anchor to CalculatedDiscountCodeApplication.targetSelectionCalculated•OBJECT
Discount Code Application. target Selection A discount code that is applied to an order that is being edited.
- Anchor to CalculatedManualDiscountApplication.targetSelectionCalculated•OBJECT
Manual Discount Application. target Selection Represents a discount that was manually created for an order that is being edited.
- Anchor to CalculatedScriptDiscountApplication.targetSelectionCalculated•OBJECT
Script Discount Application. target Selection A discount created by a Shopify script for an order that is being edited.
- •INTERFACE
Discount applications capture the intentions of a discount source at the time of application on an order's line items or shipping lines.
Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the DiscountAllocation object.
- •OBJECT
Discount code applications capture the intentions of a discount code at the time that it is applied onto an order.
Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the DiscountAllocation object.
- Anchor to FinancialSummaryDiscountApplication.targetSelectionFinancial•OBJECT
Summary Discount Application. target Selection Discount applications capture the intentions of a discount source at the time of application on an order's line items or shipping lines.
- •OBJECT
Manual discount applications capture the intentions of a discount that was manually created for an order.
Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the DiscountAllocation object.
- •OBJECT
Script discount applications capture the intentions of a discount that was created by a Shopify Script for an order's line item or shipping line.
Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the DiscountAllocation object.