Skip to main content
Anchor to CalculatedDiscountCodeApplication

CalculatedDiscountCodeApplication

object

Requires read_order_edits access scope.

A discount code that is applied to an order that is being edited.

•DiscountApplicationAllocationMethod!
non-null

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

Show enum values
•DiscountApplicationLevel!
non-null

The level at which the discount was applied.

Show enum values
•String!
non-null

The string identifying the discount code that was used at the time of application.

•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.

Show enum values
•DiscountApplicationTargetType!
non-null

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

Show enum values
•PricingValue!
non-null

The value of the discount application.

Show union types

Was this section helpful?


Was this section helpful?