Skip to main content
Log inSign up
Anchor to CalculatedDiscountCodeApplication

CalculatedDiscountCodeApplication

object

Requires read_order_edits access scope.

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

•

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

•

The level at which the discount was applied.

•
String!non-null

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

•

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

•
ID!non-null

A globally-unique ID.

•

How the discount amount is distributed on the discounted lines.

•

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

•

The value of the discount application.


Was this section helpful?