---
title: "Warehouse - Create"
method: POST
path: "/warehouse/create"
tags: ["warehouse"]
---

# Warehouse - Create

`POST /warehouse/create`

Create a new warehouse with name and address details.

## Request body

- object
  - `name` string, required — Warehouse name
  - `type` string — Warehouse type
  - `address` Address — Warehouse address
    - `address` string — Street address
    - `city` string — City
    - `state` string — State or province
    - `postal_code` string — Postal or ZIP code
    - `country_code` string — Two-letter country code
    - `phone` string — Phone number
    - `company` string — Company name
    - `name` string — Contact name

## Response `200`

Warehouse created

- object
  - `success` boolean, required — Whether the operation succeeded
  - `_id` string, required — ID of the created resource

## Other responses

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

## Changes

> 13 revisions in range; 1 could not be searched.

- **2026-03-02** `fa53dd949b8e` — 2 breaking, 2 warning, 15 info
  - the request property `name` became required
  - the `address` request property type/format changed from `string`/`` to `object`/``
  - removed the request property `states`
  - removed the request property `store_id`
  - …15 more
- **2024-04-22** `08cd9cfa14dd` — 1 breaking, 5 warning, 2 info
  - added required request body
  - deleted the `query` request parameter `address`
  - deleted the `query` request parameter `name`
  - deleted the `query` request parameter `states`
  - …4 more
- **2024-04-19** `46ceda528000` — 2 breaking, 11 info
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `post_warehouse_create` removed and replaced with ``
  - added the new optional `query` request parameter `address`
  - …9 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/warehouse/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/4b5ec0ed78a6/schema)
