---
title: "Delete warehouse"
method: DELETE
path: "/warehouses/{warehouseId}"
tags: ["warehouses"]
---

# Delete warehouse

`DELETE /warehouses/{warehouseId}`

Removes a warehouse from ShipStation's UI and sets it to Inactive status. This is a "soft" delete action.

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

## Path parameters

- `warehouseId` integer, required

## Response `200`

Warehouse deleted successfully

- object
  - `success` boolean
  - `message` string

## Other responses

- `400` — Bad Request - The request could not be understood or was missing required parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `404` — Not Found - The specified resource was not found
- `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)
