# CartCodeDiscountAllocation - storefront - OBJECT Version: 2024-04 ## Description The discount that has been applied to the cart line using a discount code. ### Access Scopes ## Fields * [code](/docs/api/storefront/2024-04/scalars/String): String! - The code used to apply the discount. * [discountedAmount](/docs/api/storefront/2024-04/objects/MoneyV2): MoneyV2! - The discounted amount that has been applied to the cart line. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples