--- title: BaseCartDiscountApplication - 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/interfaces/BaseCartDiscountApplication md: >- https://shopify.dev/docs/api/storefront/unstable/interfaces/BaseCartDiscountApplication.md --- # Base​Cart​Discount​Application interface 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. * total​Allocated​Amount [Money​V2!](https://shopify.dev/docs/api/storefront/unstable/objects/MoneyV2) non-null The total amount allocated by this discount application across all entitled items. * value [Pricing​Value!](https://shopify.dev/docs/api/storefront/unstable/unions/PricingValue) non-null The value of the discount application. *** ##### Variables ```json { "allocationMethod": "", "targetSelection": "", "targetType": "", "totalAllocatedAmount": "", "value": "" } ``` ##### Schema ```graphql interface BaseCartDiscountApplication { allocationMethod: DiscountApplicationAllocationMethod! targetSelection: DiscountApplicationTargetSelection! targetType: DiscountApplicationTargetType! totalAllocatedAmount: MoneyV2! value: PricingValue! } ```