Discount Application Target Type
The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
Anchor to Valid valuesValid values
- Anchor to LINE_ITEMLINE_
ITEM The discount applies onto line items.
- Anchor to SHIPPING_LINESHIPPING_
LINE The discount applies onto shipping lines.
Anchor to FieldsFields
- •OBJECT
Automatic discount applications capture the intentions of a discount that was automatically applied.
- Anchor to CalculatedAutomaticDiscountApplication.targetTypeCalculated•OBJECT
Automatic Discount Application. target Type A discount that is automatically applied to an order that is being edited.
- •INTERFACE
A discount application involved in order editing that might be newly added or have new changes applied.
- •OBJECT
A discount code that is applied to an order that is being edited.
- Anchor to CalculatedManualDiscountApplication.targetTypeCalculated•OBJECT
Manual Discount Application. target Type Represents a discount that was manually created for an order that is being edited.
- Anchor to CalculatedScriptDiscountApplication.targetTypeCalculated•OBJECT
Script Discount Application. target Type 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.targetTypeFinancial•OBJECT
Summary Discount Application. target Type 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.
- •OBJECTDeprecated