---
title: CartCustomDiscountAllocation - Storefront API
description: >-
  The discounts automatically applied to the cart line based on prerequisites
  that have been met.
api_version: 2025-07
api_name: storefront
type: object
api_type: graphql
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/2025-07/objects/CartCustomDiscountAllocation
  md: >-
    https://shopify.dev/docs/api/storefront/2025-07/objects/CartCustomDiscountAllocation.md
---

# Cart​Custom​Discount​Allocation

object

The discounts automatically applied to the cart line based on prerequisites that have been met.

## Fields

* discounted​Amount

  [Money​V2!](https://shopify.dev/docs/api/storefront/2025-07/objects/MoneyV2)

  non-null

  The discounted amount that has been applied to the cart line.

* target​Type

  [Discount​Application​Target​Type!](https://shopify.dev/docs/api/storefront/2025-07/enums/DiscountApplicationTargetType)

  non-null

  The type of line that the discount is applicable towards.

* title

  [String!](https://shopify.dev/docs/api/storefront/2025-07/scalars/String)

  non-null

  The title of the allocated discount.

* discount​Application

  [Cart​Discount​Application!](https://shopify.dev/docs/api/storefront/2025-07/objects/CartDiscountApplication)

  non-nullDeprecated

***

## Map

No referencing types

***

## Interfaces

* [Cart​Discount​Allocation](https://shopify.dev/docs/api/storefront/2025-07/interfaces/CartDiscountAllocation)

  interface

***

## CartCustomDiscountAllocation Implements

### Implements

* [Cart​Discount​Allocation](https://shopify.dev/docs/api/storefront/2025-07/interfaces/CartDiscountAllocation)
