Skip to main content
Anchor to DiscountCodeApplication

DiscountCodeApplication

object

Requires customer_read_orders access scope or customer_read_draft_orders access scope.

Captures the intentions of a discount code at the time that it is applied.

•DiscountApplicationAllocationMethod!
non-null

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

Show enum values
•String!
non-null

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

•DiscountApplicationTargetSelection!
non-null

The lines of targetType that the discount is allocated over.

Show enum values
•DiscountApplicationTargetType!
non-null

The type of line that the discount is applicable towards.

Show enum values
•PricingValue!
non-null

The value of the discount application.

Show union types

Was this section helpful?


Was this section helpful?