DiscountCodeApplication - storefront - OBJECT
Version: 2024-04
Description:
Discount code applications capture the intentions of a discount code at
the time that it is applied.
Access Scopes
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.
Connections
Related queries
Related mutations
Related Unions
Examples