---
title: "Retrieve a list of all Warehouses"
method: GET
path: "/warehouses"
tags: ["Warehouse"]
---

# Retrieve a list of all Warehouses

`GET /warehouses`

## Request

- Base URL: `https://api.zentail.com/v1`
- URL: `https://api.zentail.com/v1/warehouses`
- Auth: API key in header `AUTHORIZATION`

Returns a list of all Warehouses associated with this account. Warehouse IDs should be used when updating inventory using the API.
<br />
<Note>

If the `canUpdateInventory` field is `false` you cannot use that warehouse to update inventory through the API. This is normally caused by warehouses that are managed by other inventory integrations, such as FBA or another third party logistics company.
</Note>

## Response `200`

Success

- object
  - `results` Warehouse[]
    - `warehouseId` number: A unique identifier for this warehouse, should be used when updating inventory through the API.
    - `warehouseUniqueId` string: Unique identifier for the warehouse as recognized by the application.
    - `canUpdateInventory` boolean: If this is false, you would be unable to modify the inventory in this warehouse using the API. This is usually caused by the warehouse being managed by another service or 3PL.
    - `name` string

## Other responses

- `400`: Bad Request
- `403`: Permission Denied
- `404`: Not Found
- `500`: Zentail Error
- `503`: Zentail Error

---

[API](https://skmtc.dev/zentail/apis/zentail-api.md) - [All operations](https://skmtc.dev/zentail/apis/zentail-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zentail/apis/zentail-api/revisions/55e43cb43caf?raw)
