---
title: DiscountApplicationTargetType - Customer API
description: >-
  The type of line (i.e. line item or shipping line) on an order that the
  discount is applicable towards.
api_version: 2025-07
api_name: customer
type: enum
api_type: graphql
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/2025-07/enums/DiscountApplicationTargetType
  md: >-
    https://shopify.dev/docs/api/customer/2025-07/enums/DiscountApplicationTargetType.md
---

# Discount​Application​Target​Type

enum

The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.

## Valid values

* LINE\_​ITEM

  The discount applies onto line items.

* SHIPPING\_​LINE

  The discount applies onto shipping lines.

***

## Fields

* [Automatic​Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/AutomaticDiscountApplication#field-AutomaticDiscountApplication.fields.targetType)

  OBJECT

  Captures the intentions of a discount that was automatically applied.

* [Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/interfaces/DiscountApplication#fields-targetType)

  INTERFACE

  Captures the intentions of a discount source at the time of application.

* [Discount​Code​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/DiscountCodeApplication#field-DiscountCodeApplication.fields.targetType)

  OBJECT

  Captures the intentions of a discount code at the time that it is applied.

* [Manual​Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/ManualDiscountApplication#field-ManualDiscountApplication.fields.targetType)

  OBJECT

  Captures the intentions of a discount that was manually created.

* [Script​Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/ScriptDiscountApplication#field-ScriptDiscountApplication.fields.targetType)

  OBJECT

  Captures the intentions of a discount that was created by a Shopify Script.

***

## Map

### Fields with this enum

* [Automatic​Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/AutomaticDiscountApplication#field-AutomaticDiscountApplication.fields.targetType)
* [Discount​Code​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/DiscountCodeApplication#field-DiscountCodeApplication.fields.targetType)
* [Manual​Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/ManualDiscountApplication#field-ManualDiscountApplication.fields.targetType)
* [Script​Discount​Application.targetType](https://shopify.dev/docs/api/customer/2025-07/objects/ScriptDiscountApplication#field-ScriptDiscountApplication.fields.targetType)
