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

# UnlockBinLocationForAvailableStock

> Unlocks a bin location for available stock, allowing it to be used for stock allocation.

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** `UnlockBinLocationForAvailableStock(request: UnlockBinLocationForAvailableStockCommandRequestInput!): Boolean!`

## Arguments

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

## Returns

`Boolean!`

## Examples

```graphql Mutation
mutation UnlockBinLocationForAvailableStock($request: UnlockBinLocationForAvailableStockCommandRequestInput!) {
  UnlockBinLocationForAvailableStock(request: $request)
}
```

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

```json Response
{
  "data": {
    "UnlockBinLocationForAvailableStock": true
  }
}
```
