CartCodeDiscountAllocation - storefront - OBJECT
Version: 2025-01
Description:
The discount that has been applied to the cart line using a discount code.
Access Scopes
Fields
-
code:
String! -
The code used to apply the discount.
-
discountApplication:
CartDiscountApplication! -
The discount that have been applied on the cart line.
-
discountedAmount:
MoneyV2! -
The discounted amount that has been applied to the cart line.
-
targetType:
DiscountApplicationTargetType! -
The type of line that the discount is applicable towards.
Connections
Related queries
Related mutations
Related Unions
Examples