---
title: DiscountApplication - Storefront API
description: >-
  Captures the intent of a discount at the time it was applied. Each

  implementation represents a different discount source, such as [automatic
  discounts](https://help.shopify.com/manual/discounts/discount-methods/automatic-discounts),
  [discount
  codes](https://help.shopify.com/manual/discounts/discount-methods/discount-codes),

  and manual discounts.


  The actual discounted amount on a line item or shipping line is represented by
  the
  [`DiscountAllocation`](/docs/api/storefront/2026-07/objects/DiscountAllocation)

  object, which references the discount application it originated from.
api_version: 2026-07
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/latest/interfaces/DiscountApplication
  md: >-
    https://shopify.dev/docs/api/storefront/latest/interfaces/DiscountApplication.md
api_name: storefront
api_type: graphql
type: interface
---

# Discount​Application

interface

Captures the intent of a discount at the time it was applied. Each implementation represents a different discount source, such as [automatic discounts](https://help.shopify.com/manual/discounts/discount-methods/automatic-discounts), [discount codes](https://help.shopify.com/manual/discounts/discount-methods/discount-codes), and manual discounts.

The actual discounted amount on a line item or shipping line is represented by the [`DiscountAllocation`](https://shopify.dev/docs/api/storefront/2026-07/objects/DiscountAllocation) object, which references the discount application it originated from.

## 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.

* value

  [Pricing​Value!](https://shopify.dev/docs/api/storefront/latest/unions/PricingValue)

  non-null

  The value of the discount application.

***

##### Variables

```json
{
	"allocationMethod": "",
	"targetSelection": "",
	"targetType": "",
	"value": ""
}
```

##### Schema

```graphql
interface DiscountApplication {
  allocationMethod: DiscountApplicationAllocationMethod!
  targetSelection: DiscountApplicationTargetSelection!
  targetType: DiscountApplicationTargetType!
  value: PricingValue!
}
```
