Skip to main content
Log inSign up
Anchor to DiscountCodeApplication

DiscountCodeApplication

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.

•

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

•
String!non-null

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

•
Int!non-null

An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations.

•

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?


Was this section helpful?