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

# Location - Create

`POST /location/create`

/location/create

## Request body

- object
  - `warehouse_id` string
  - `name` string

## Response `200`

OK

## Other responses

- `400` — Malformed request. Check that you have the correct parameters and that they are formatted correctly.
- `401` — Unauthorized. Did you forget to include your API key?

## Changes

- **2024-04-22** `08cd9cfa14dd` — 1 breaking, 2 warning, 2 info
  - added required request body
  - deleted the `query` request parameter `name`
  - deleted the `query` request parameter `warehouse_id`
  - added the non-success response with the status `400`
  - …1 more
- **2024-04-19** `46ceda528000` — 2 breaking, 8 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `post_location_create` removed and replaced with ``
  - added the new optional `query` request parameter `name`
  - …6 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/location/create/post.md)

---

[API](https://skmtc.dev/skulabs/apis/skulabs-api.md) · [All operations](https://skmtc.dev/skulabs/apis/skulabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/skulabs/skulabs-api/revisions/08cd9cfa14dd/schema)
