> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SalesOrderDiscountLineItemInput

> A new discount such as a coupon.



**Kind**: `input`

## Fields

**`sortOrder`**: `Int`

The position of the line item. Defaults to the end.

---

**`note`**: `String`

A note on the line item.

---

**`name`**: `String!` (required)

The name printed on the document.

---

**`discountType`**: `String!` (required)

The type of the discount. Known values: COUPON, NEW_CUSTOMER_COUPON, LEGACY_VOUCHER. The type of a discount line item.

---

**`amount`**: `Decimal!` (required)

The amount of the discount; greater than 0. Fails with a GraphQL error whose extensions.code is LineItemAmountNotPositive.

