---
title: "Location - Create"
method: POST
path: "/location/create"
tags: ["location"]
---

# Location - Create

`POST /location/create`

Create a new location within a warehouse (e.g. bin, shelf, or zone).

## Request body

- object
  - `warehouse_id` string, required — Warehouse ID to create the location in
  - `name` string, required — Location name

## Response `200`

Location created successfully

- object
  - `_id` string, required — Location ID
  - `success` boolean, required — Whether the operation succeeded
  - `warehouse_id` string, required — Parent warehouse ID
  - `name` string, required — Location name
  - `note` string — Additional note, e.g. if location already existed

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden. Insufficient permissions.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error.

---

[API](https://skmtc.net/skulabs/apis/skulabs-api.md) · [All operations](https://skmtc.net/skulabs/apis/skulabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skulabs/skulabs-api/versions/4b5ec0ed78a6/schema)
