--- 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/unstable/interfaces/CartDiscountAllocation) objects, which reference this application. api_version: unstable api_name: storefront source_url: html: >- https://shopify.dev/docs/api/storefront/unstable/objects/CartDiscountApplication md: >- https://shopify.dev/docs/api/storefront/unstable/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/unstable/interfaces/CartDiscountAllocation) objects, which reference this application. ## Fields * allocation​Method [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/storefront/unstable/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/unstable/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/unstable/enums/DiscountApplicationTargetType) non-null The type of line that the discount is applicable towards. * value [Pricing​Value!](https://shopify.dev/docs/api/storefront/unstable/unions/PricingValue) non-null The value of the discount application. *** ## Map ### Fields with this object * [CartAutomaticDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/unstable/objects/CartAutomaticDiscountAllocation#field-CartAutomaticDiscountAllocation.fields.discountApplication) * [CartCodeDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/unstable/objects/CartCodeDiscountAllocation#field-CartCodeDiscountAllocation.fields.discountApplication) * [CartCustomDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/unstable/objects/CartCustomDiscountAllocation#field-CartCustomDiscountAllocation.fields.discountApplication) * [CartDiscountAllocation.discountApplication](https://shopify.dev/docs/api/storefront/unstable/interfaces/CartDiscountAllocation#fields-discountApplication)