---
title: "DiscountApplicationTargetType"
description: >
  The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-application-target-type'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-application-target-type.md'
---
# DiscountApplicationTargetType

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

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`DiscountApplicationTargetType`

## Values

* `LINE_ITEM`

  The discount applies onto line items.

* `SHIPPING_LINE`

  The discount applies onto shipping lines.

## Schema Definition

```graphql
enum DiscountApplicationTargetType { 
	LINE_ITEM 
	SHIPPING_LINE  
}
```

## Field from

* [AppDiscountType](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/app-discount-type.md).targetType

  Target type for applying the discount type.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

