---
title: "Create Location"
method: POST
path: "/v1/public/locations"
tags: ["Locations"]
---

# Create Location

`POST /v1/public/locations`

## Request body

- PublicLocationRequest
  - `externalId` string, nullable
  - `warehouse` string, nullable
  - `floor` string, nullable
  - `zone` string, nullable
  - `aisle` string, nullable
  - `rack` string, nullable
  - `shelf` string, nullable
  - `bin` string, nullable
  - `usageStatus` string, nullable

## Response `200`

OK

- PublicLocationResponse
  - `ok` boolean, required
  - `status` string, required
  - `external_id` string, nullable
  - `location_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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