---
title: CartCustomDiscountApplication - Storefront API
description: The discount application applied by a custom script or function.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/latest/objects/CartCustomDiscountApplication
  md: >-
    https://shopify.dev/docs/api/storefront/latest/objects/CartCustomDiscountApplication.md
api_name: storefront
api_type: graphql
type: object
---

# Cart​Custom​Discount​Application

object

The discount application applied by a custom script or function.

## Fields

* allocation​Method

  [Discount​Application​Allocation​Method!](https://shopify.dev/docs/api/storefront/latest/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/latest/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/latest/enums/DiscountApplicationTargetType)

  non-null

  The type of line that the discount is applicable towards.

* title

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

  non-null

  The title of the discount.

* total​Allocated​Amount

  [Money​V2!](https://shopify.dev/docs/api/storefront/latest/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/latest/unions/PricingValue)

  non-null

  The value of the discount application.

***

## Map

No referencing types

***

## Interfaces

* [Base​Cart​Discount​Application](https://shopify.dev/docs/api/storefront/latest/interfaces/BaseCartDiscountApplication)

  interface

***

## CartCustomDiscountApplication Implements

### Implements

* [Base​Cart​Discount​Application](https://shopify.dev/docs/api/storefront/latest/interfaces/BaseCartDiscountApplication)
