> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/mutations/update-order-line.md).

# updateOrderLine

### Arguments

| Argument                                                                                       | Description                    |
| ---------------------------------------------------------------------------------------------- | ------------------------------ |
| input ([UpdateOrderLineInput](/graphql-api/api-reference/objects/update-order-line-input.md)!) | Parameters for UpdateOrderLine |

### UpdateOrderLineInput Arguments

| Argument                                                    | Description                                   |
| ----------------------------------------------------------- | --------------------------------------------- |
| id ([ID](/graphql-api/api-reference/objects/id.md)!)        | ID of the order line to update.               |
| quantity ([Int](/graphql-api/api-reference/objects/int.md)) | The quantity of products for this order line. |
| productId ([ID](/graphql-api/api-reference/objects/id.md))  | The ID of the product for this order line.    |

### Return fields

#### errors (\[[ModelValidationError](/graphql-api/api-reference/objects/model-validation-error.md)!]!)

#### orderLine ([OrderLine](/graphql-api/api-reference/objects/order-line.md))
