---
title: "Create a warehouse"
method: POST
path: "/v1/warehouses"
tags: ["Warehouses"]
---

# Create a warehouse

`POST /v1/warehouses`

## Request

- Base URL: `https://inventories-api.paymongo.com`
- URL: `https://inventories-api.paymongo.com/v1/warehouses`
- Auth: HTTP basic

Create a stock-keeping warehouse scoped to the authenticated organization and live mode.

## Request body

- CreateWarehouseRequestDTO: Warehouse to create
  - `disabled` boolean
  - `name` string, required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` WarehouseResponseDTO: A physical or logical stock-keeping warehouse
    - `created_at` integer
    - `disabled` boolean
    - `id` string
    - `livemode` boolean
    - `name` string
    - `updated_at` integer
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/inventories.md) - [All operations](https://skmtc.dev/paymongo/apis/inventories/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/inventories/revisions/7307fa6b0b16?raw)
