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

# ReleaseProductionOrder

> Releases an existing 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** `ReleaseProductionOrder(request: ReleaseProductionOrderCommandRequestInput!): ReleaseProductionOrderCommandResponse!`

## Arguments

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

## Returns

`ReleaseProductionOrderCommandResponse!`

**`result`**: `ReleaseProductionOrderCommandResult!`

The result of the command, including the exact timestamp and the user who released the production order.

## Examples

```graphql Mutation
mutation ReleaseProductionOrder($request: ReleaseProductionOrderCommandRequestInput!) {
  ReleaseProductionOrder(request: $request) {
    result {
      releaseTimestamp
      releaseUserId
    }
  }
}
```

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

```json Response
{
  "data": {
    "ReleaseProductionOrder": {
      "result": {
        "releaseTimestamp": "value",
        "releaseUserId": "id"
      }
    }
  }
}
```
