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

# UpdateSalesOrderCommandRequestInput

> Modifies an existing sales order. - Request



**Kind**: `input`

## Fields

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

Unique ID of the sales order to be modified.

---

**`disableAutomaticWorkflows`**: `Boolean`

Indicates whether automatic workflows should be disabled for this sales order.

---

**`useBillingAddressAsShipmentAddress`**: `Boolean`

Indicates whether the billing address should be used as the shipment address.

---

**`cartonItemId`**: `ID`

The SalesOrder CartonItemId

---

**`companyId`**: `ID`

Unique ID of the company.

---

**`customerId`**: `ID`

The ID of the customer associated with the sales order.

---

**`onHoldReasonId`**: `ID`

The SalesOrder OnHoldReasonId

---

**`paymentMethodId`**: `ID`

The ID of the payment method for the sales order.

---

**`processColourId`**: `ID`

The SalesOrder ProcessColourId

---

**`processStatusId`**: `ID`

The SalesOrder ProcessStatusId

---

**`shippingMethodId`**: `ID`

The ID of the shipping method for the sales order.

---

**`billingAddress`**: `UpdateUpdateSalesOrderAddressInput`

SalesOrderBillingAddress

---

**`shipmentAddress`**: `UpdateUpdateSalesOrderAddressInput`

SalesOrderShipmentAddress

---

**`departureCountry`**: `UpdateUpdateSalesOrderDepartureCountryInput`

DepartureCountry

---

**`externalDetails`**: `UpdateUpdateSalesOrderExternalDetailsInput`

ExternalDetails

---

**`lineItems`**: `[UpdateUpdateSalesOrderLineItemInput]`

The line items included in the sales order.

---

**`paymentDetails`**: `UpdateUpdateSalesOrderPaymentDetailsInput`

PaymentDetails

---

**`paymentInfo`**: `UpdateUpdateSalesOrderPaymentInfoInput`

SalesOrderPaymentInfo

---

**`shippingDetails`**: `UpdateUpdateSalesOrderShippingDetailsInput`

ShippingDetails

---

**`taxDetails`**: `UpdateUpdateSalesOrderTaxDetailsInput`

TaxDetails

---

**`text`**: `UpdateUpdateSalesOrderTextInput`

SalesOrderText

---

**`customerSalesOrderNumber`**: `String`

The SalesOrder CustomerSalesOrderNumber

---

**`itemDescriptionType`**: `ItemDescriptionType`

The SalesOrder ItemDescriptionType

---

**`languageIso`**: `String`

The SalesOrder LanguageISO

---

**`readOnlyType`**: `ReadOnlyType`

The SalesOrder ReadOnlyType

---

**`salesOrderDate`**: `DateTime`

The SalesOrder Date

---

**`vatId`**: `String`

The SalesOrder VATId

---

**`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.

