Skip to main content
Anchor to CalculatedScriptDiscountApplication

CalculatedScriptDiscountApplication

object

Requires read_order_edits access scope.

A discount created by a Shopify script for an order that is being edited.

•DiscountApplicationAllocationMethod!non-null

The method by which the discount's value is allocated to its entitled items.

•DiscountApplicationLevel!non-null

The level at which the discount was applied.

•String

The description of discount application. Indicates the reason why the discount was applied.

•ID!non-null

A globally-unique ID.

•DiscountApplicationTargetSelection!non-null

How the discount amount is distributed on the discounted lines.

•DiscountApplicationTargetType!non-null

Whether the discount is applied on line items or shipping lines.

•PricingValue!non-null

The value of the discount application.


Was this section helpful?

OSZAR »