Skip to main content
inputSalesOrderDiscountLineItemUpdateInput

Fields

sortOrder
Int

The position of the line item. Null fails with a GraphQL error whose extensions.code is LineItemSortOrderRequired.

note
String

A note on the line item. Null clears it.

name
String

The name printed on the document. Null fails with a GraphQL error whose extensions.code is LineItemNameRequired.

amount
Decimal

The amount of the discount; greater than 0. Null or 0 or less fails with a GraphQL error whose extensions.code is LineItemAmountNotPositive.