Anchor to DiscountApplicationLevelDiscount
enumDiscount Application Level
The level at which the discount's value is applied.
Anchor to Valid valuesValid values
- Anchor to LINELINE
The discount is applied at the line level. Line level discounts are factored into the discountedUnitPriceSet on line items.
- Anchor to ORDERORDER
The discount is applied at the order level. Order level discounts are not factored into the discountedUnitPriceSet on line items.
Was this section helpful?
Anchor to FieldsFields
- Anchor to CalculatedAutomaticDiscountApplication.appliedToCalculated•OBJECT
Automatic Discount Application. applied To 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.appliedToCalculated•OBJECT
Manual Discount Application. applied To Represents a discount that was manually created for an order that is being edited.
- Anchor to CalculatedScriptDiscountApplication.appliedToCalculated•OBJECT
Script Discount Application. applied To A discount created by a Shopify script for an order that is being edited.
Was this section helpful?