---
title: CartAutomaticDiscountAllocation - Storefront API
description: |-
  A discount allocation [that applies automatically](https://help.shopify.com/manual/discounts/discount-methods/automatic-discounts)
  to a cart line when configured conditions are met. Unlike [`CartCodeDiscountAllocation`](/docs/api/storefront/2026-10/objects/CartCodeDiscountAllocation),
  automatic discounts don't require customers to enter a code.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/storefront/latest/objects/cartautomaticdiscountallocation
  md: https://shopify.dev/docs/api/storefront/latest/objects/cartautomaticdiscountallocation.md
---

# CartAutomaticDiscountAllocation

object

A discount allocation [that applies automatically](https://help.shopify.com/manual/discounts/discount-methods/automatic-discounts) to a cart line when configured conditions are met. Unlike [`CartCodeDiscountAllocation`](https://shopify.dev/docs/api/storefront/2026-10/objects/CartCodeDiscountAllocation), automatic discounts don't require customers to enter a code.

## Fields

* discountedAmount

  [MoneyV2!](https://shopify.dev/docs/api/storefront/latest/objects/MoneyV2)

  non-null

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

* sourceDiscountApplication

  [BaseCartDiscountApplication!](https://shopify.dev/docs/api/storefront/latest/interfaces/BaseCartDiscountApplication)

  non-null

  The discount application that created this allocation, with corrected value semantics.

* targetType

  [DiscountApplicationTargetType!](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 allocated discount.

* discountApplication

  [CartDiscountApplication!](https://shopify.dev/docs/api/storefront/latest/objects/CartDiscountApplication)

  non-nullDeprecated

***

## Map

No referencing types

***

## Interfaces

* [CartDiscountAllocation](https://shopify.dev/docs/api/storefront/latest/interfaces/CartDiscountAllocation)

  interface

***

## CartAutomaticDiscountAllocation Implements

### Implements

* [CartDiscountAllocation](https://shopify.dev/docs/api/storefront/latest/interfaces/CartDiscountAllocation)