Input objects
SalesOrderVoucherLineItemUpdateInput
Updates to a voucher line item; only the fields that are sent change. The voucher type cannot be changed.
input
SalesOrderVoucherLineItemUpdateInputFields
sortOrder
Int
The position of the line item. Null fails with a GraphQL error whose extensions.code is LineItemSortOrderRequired.
quantity
Decimal
The number of vouchers; greater than 0. Null or 0 or less fails with a GraphQL error whose extensions.code is LineItemQuantityNotPositive.
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 value of one voucher. Null fails with a GraphQL error whose extensions.code is LineItemAmountRequired.
Was this page helpful?