Skip to main content
Anchor to DiscountApplicationTargetType

DiscountApplicationTargetType

enum

The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.

The discount applies onto line items.

The discount applies onto shipping lines.


Was this section helpful?

•OBJECT

Automatic discount applications capture the intentions of a discount that was automatically applied.

•OBJECT

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.

•OBJECT

Represents a discount that was manually created for an order that is being edited.

•OBJECT

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.

•OBJECT

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.


Was this section helpful?