---
title: "Create warehouse"
method: POST
path: "/warehouses/createwarehouse"
tags: ["warehouses"]
---

# Create warehouse

`POST /warehouses/createwarehouse`

Adds a Ship From Location (formerly known as warehouse) to your account.

**Note:** In the API, the endpoint is called warehouse, but the process actually affects Ship From Locations in the UI.

## Request body

- object
  - `warehouseName` string — Name of Ship From Location
  - `originAddress` Address, required — Physical address for shipping or billing
    - `name` string — Name of the recipient
    - `company` string, nullable — Company name
    - `street1` string — First line of the street address
    - `street2` string, nullable — Second line of the street address
    - `street3` string, nullable — Third line of the street address
    - `city` string — City name
    - `state` string — State or province code
    - `postalCode` string — Postal or ZIP code
    - `country` string — Two-letter ISO country code
    - `phone` string, nullable — Phone number
    - `residential` boolean, nullable — Whether the address is residential
    - `addressVerified` string, nullable — Address verification status
  - `returnAddress` Address — Physical address for shipping or billing
    - `name` string — Name of the recipient
    - `company` string, nullable — Company name
    - `street1` string — First line of the street address
    - `street2` string, nullable — Second line of the street address
    - `street3` string, nullable — Third line of the street address
    - `city` string — City name
    - `state` string — State or province code
    - `postalCode` string — Postal or ZIP code
    - `country` string — Two-letter ISO country code
    - `phone` string, nullable — Phone number
    - `residential` boolean, nullable — Whether the address is residential
    - `addressVerified` string, nullable — Address verification status
  - `isDefault` boolean — Whether this will be the default Ship From Location

## Response `200`

Warehouse created successfully

- object
  - `warehouseId` integer
  - `warehouseName` string
  - `originAddress` Address — Physical address for shipping or billing
    - `name` string — Name of the recipient
    - `company` string, nullable — Company name
    - `street1` string — First line of the street address
    - `street2` string, nullable — Second line of the street address
    - `street3` string, nullable — Third line of the street address
    - `city` string — City name
    - `state` string — State or province code
    - `postalCode` string — Postal or ZIP code
    - `country` string — Two-letter ISO country code
    - `phone` string, nullable — Phone number
    - `residential` boolean, nullable — Whether the address is residential
    - `addressVerified` string, nullable — Address verification status
  - `returnAddress` Address — Physical address for shipping or billing
    - `name` string — Name of the recipient
    - `company` string, nullable — Company name
    - `street1` string — First line of the street address
    - `street2` string, nullable — Second line of the street address
    - `street3` string, nullable — Third line of the street address
    - `city` string — City name
    - `state` string — State or province code
    - `postalCode` string — Postal or ZIP code
    - `country` string — Two-letter ISO country code
    - `phone` string, nullable — Phone number
    - `residential` boolean, nullable — Whether the address is residential
    - `addressVerified` string, nullable — Address verification status
  - `isDefault` boolean

## Other responses

- `400` — Bad Request - The request could not be understood or was missing required parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `500` — Internal Server Error - An error occurred on the server

---

[API](https://skmtc.net/shipstation/apis/shipstation-v1-api-legacy.md) · [All operations](https://skmtc.net/shipstation/apis/shipstation-v1-api-legacy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipstation/shipstation-v1-api-legacy/revisions/c71c20d26559/schema)
