# List Locations

**GET** `/v1/inventory/locations`

Returns all inventory locations for the tenant. Admins see all locations including inactive ones.

### Response fields

| Field | Type | Description |
|---|---|---|
| `locations` | array | List of location objects |

**Location object**

| Field | Type | Description |
|---|---|---|
| `id` | integer | Location ID |
| `tenant_id` | integer | Tenant this location belongs to |
| `name` | string | Display name (e.g. "Main Warehouse") |
| `code` | string | Short reference code (e.g. "WH-01") |
| `address` | string | Physical address |
| `account_id` | integer | Linked seller account (nullable — for branch-linked locations) |
| `active` | integer | `1` = active, `0` = deactivated |
| `metadata` | object | Arbitrary key-value data |
| `account` | object | Associated account object (`id`, `name`) if linked |
