> ## 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.

# UpdateSalesInvoiceCancellationReasonCommandRequestInput

> Changes a cancellation reason for sales invoices. Fields that are omitted stay as they are. Documents that were cancelled with the reason show the new name. GraphQL only. - Request



**Kind**: `input`

## Fields

**`cancellationReasonId`**: `ID!` (required)

The ID of the cancellation reason for sales invoices.

---

**`name`**: `String`

The new name, 1 to 50 characters.

---

**`isCommentRequired`**: `Boolean`

The new value of 'isCommentRequired'.

---

**`idempotencyKey`**: `String`

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.

