--- title: CartDiscountApplication - Storefront API description: | Captures the intent of a discount source at the time it was applied to a cart. This includes the discount value, how it's allocated across entitled items, and which line types it targets. The actual discounted amounts on specific cart lines are represented by [`CartDiscountAllocation`](/docs/api/storefront/2025-04/interfaces/CartDiscountAllocation) objects, which reference this application. api_version: 2025-04 api_name: storefront type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/2025-04/objects/cartdiscountapplication md: https://shopify.dev/docs/api/storefront/2025-04/objects/cartdiscountapplication.md --- # Cart​Discount​Application object Captures the intent of a discount source at the time it was applied to a cart. This includes the discount value, how it's allocated across entitled items, and which line types it targets. The actual discounted amounts on specific cart lines are represented by [`CartDiscountAllocation`](https://shopify.dev/docs/api/storefront/2025-04/interfaces/CartDiscountAllocation) objects, which reference this application. ## Fields * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/storefront/2025-04/enums/DiscountApplicationAllocationMethod) non-null The method by which the discount's value is allocated to its entitled items. * target​Selection [Discount​Application​Target​Selection!](https://shopify.dev/docs/api/storefront/2025-04/enums/DiscountApplicationTargetSelection) non-null Which lines of targetType that the discount is allocated over. * target​Type [Discount​Application​Target​Type!](https://shopify.dev/docs/api/storefront/2025-04/enums/DiscountApplicationTargetType) non-null The type of line that the discount is applicable towards. * value [Pricing​Value!](https://shopify.dev/docs/api/storefront/2025-04/unions/PricingValue) non-null The value of the discount application. *** ## Map ### Fields with this object * [CartAutomaticDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/2025-04/objects/CartAutomaticDiscountAllocation#field-CartAutomaticDiscountAllocation.fields.discountApplication) * [CartCodeDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/2025-04/objects/CartCodeDiscountAllocation#field-CartCodeDiscountAllocation.fields.discountApplication) * [CartCustomDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/2025-04/objects/CartCustomDiscountAllocation#field-CartCustomDiscountAllocation.fields.discountApplication) * [CartDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/2025-04/interfaces/CartDiscountAllocation#fields-discountApplication)