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

# GetBinLocationById

> Returns a single bin location by its ID.



**query** `GetBinLocationById(binLocationId: ID!): BinLocationListItem!`

## Arguments

**`binLocationId`**: `ID!` (required)

## Returns

`BinLocationListItem!`

**`binLocationId`**: `ID!`

Unique bin location identifier.

---

**`warehouseId`**: `ID!`

Warehouse that owns this bin location.

---

**`name`**: `String!`

Bin location name (unique within the warehouse).

---

**`status`**: `Int!`

Current status of the bin location (0=Active, 1=Deactivated, 2=Locked).

---

**`type`**: `Int!`

Type of the bin location (0=Standard, 1=Shelf, 2=Floor, 3=Rack, 4=Picking, 5=Transfer, 6=Clarification).

---

**`sort`**: `Int`

Optional sort order.

## Examples

```graphql Query
query GetBinLocationById($binLocationId: ID!) {
  GetBinLocationById(binLocationId: $binLocationId) {
    binLocationId
    warehouseId
    name
    status
    type
    sort
  }
}
```

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

```json Response
{
  "data": {
    "GetBinLocationById": {
      "binLocationId": "id",
      "warehouseId": "id",
      "name": "string",
      "status": 1,
      "type": 1,
      "sort": 1
    }
  }
}
```
