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

# UpdateProductionOrder

> Updates a production order.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `UpdateProductionOrder(request: UpdateProductionOrderCommandRequestInput!): UpdateProductionOrderCommandResponse!`

## Arguments

**`request`**: `UpdateProductionOrderCommandRequestInput!` (required)

## Returns

`UpdateProductionOrderCommandResponse!`

**`productionOrderId`**: `ID!`

The ID of the modified production order.

## Examples

```graphql Mutation
mutation UpdateProductionOrder($request: UpdateProductionOrderCommandRequestInput!) {
  UpdateProductionOrder(request: $request) {
    productionOrderId
  }
}
```

```json Variables
{
  "request": {
    "productionOrderId": "id"
  }
}
```

```json Response
{
  "data": {
    "UpdateProductionOrder": {
      "productionOrderId": "id"
    }
  }
}
```
