# Create Location

**POST** `/v1/inventory/locations`

Creates a new inventory location (warehouse, store, shelf area, branch).

### Request fields

| Field | Type | Required | Description |
|---|---|---|---|
| `name` | string | Yes | Display name |
| `code` | string | No | Short reference code (e.g. "WH-01", "ST-02") |
| `address` | string | No | Physical address |
| `account_id` | integer | No | Link to a seller account (for branch-owned locations) |
| `metadata` | object | No | Arbitrary key-value data |

### Response fields

| Field | Type | Description |
|---|---|---|
| `location` | object | The created location object |
