---
title: orderLineUpdate Mutation
seo:
  title: orderLineUpdate Mutation
  description: 'Mutation: orderLineUpdate Mutation'
slug: api-reference/orders/mutations/order-line-update
sidebar:
  label: orderLineUpdate
search:
  tags:
    - API reference
    - Orders
lastModified: '2026-04-13'
---

Updates an order line of an order. 



Requires one of the following permissions: `MANAGE_ORDERS`.





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

## Returns

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

<details>
<summary>Show return type</summary>


```graphql
type OrderLineUpdate {
  order: Order
  orderErrors: [OrderError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [OrderError!]!
  orderLine: OrderLine
}
```


</details>

## Arguments

### id [#id]

**`id`** · [`ID!`](/api-reference/miscellaneous/scalars/id)

ID of the order line to update.

### input [#input]

**`input`** · [`OrderLineInput!`](/api-reference/orders/inputs/order-line-input)

Fields required to update an order line.

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
