> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/orders/llms.txt)
> Source: https://docs.saleor.io/api-reference/orders/mutations/order-line-update

# orderLineUpdate Mutation

Updates an order line of an order.

Requires the MANAGE\_ORDERS permission.

```graphql
orderLineUpdate(
  id: ID!
  input: OrderLineInput!
): OrderLineUpdate
```

Details

```graphql
type OrderLineUpdate {
  order: Order
  orderErrors: [OrderError!]! @deprecated
  errors: [OrderError!]!
  orderLine: OrderLine
}
```

<a id="arguments"></a>

### Arguments

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the order line to update.

<a id="input"></a>

#### [`input`](#input) ● [`OrderLineInput!`](/api-reference/orders/inputs/order-line-input.md)

Fields required to update an order line.

<a id="type"></a>

### Type

<a id="orderlineupdate"></a>

#### [`OrderLineUpdate`](/api-reference/orders/objects/order-line-update.md)

Updates an order line of an order.

Requires the MANAGE\_ORDERS permission.
