DiscountCodeApplication object

Discount code applications capture the intentions of a discount code at the time that it is applied.

Fields

allocationMethod (DiscountApplicationAllocationMethod!)

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

applicable (Boolean!)

Specifies whether the discount code was applied successfully.

code (String!)

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

targetSelection (DiscountApplicationTargetSelection!)

Which lines of targetType that the discount is allocated over.

targetType (DiscountApplicationTargetType!)

The type of line that the discount is applicable towards.

value (PricingValue!)

The value of the discount application.

Implements

Discount code applications capture the intentions of a discount code at the time that it is applied.

Fields

allocationMethod (DiscountApplicationAllocationMethod!)

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

applicable (Boolean!)

Specifies whether the discount code was applied successfully.

code (String!)

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

targetSelection (DiscountApplicationTargetSelection!)

Which lines of targetType that the discount is allocated over.

targetType (DiscountApplicationTargetType!)

The type of line that the discount is applicable towards.

value (PricingValue!)

The value of the discount application.

Implements

Discount code applications capture the intentions of a discount code at the time that it is applied.

Fields

allocationMethod (DiscountApplicationAllocationMethod!)

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

applicable (Boolean!)

Specifies whether the discount code was applied successfully.

code (String!)

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

targetSelection (DiscountApplicationTargetSelection!)

Which lines of targetType that the discount is allocated over.

targetType (DiscountApplicationTargetType!)

The type of line that the discount is applicable towards.

value (PricingValue!)

The value of the discount application.

Implements

Sign up for a Partner account to get started.

Sign up