---
title: "Warehouse name and address information"
method: GET
path: "/warehouse/{id}"
tags: ["Warehouse"]
---

# Warehouse name and address information

`GET /warehouse/{id}`

## Request

- Base URL: `https://api.zentail.com/v1`
- URL: `https://api.zentail.com/v1/warehouse/{id}`
- Auth: API key in header `AUTHORIZATION`

Returns the ID, name, and address of the warehouse requested.

## Path parameters

- `id` number, required

## Response `200`

Success

- WarehouseDetails
  - `warehouse_id` 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.
  - `name` string
  - `address` SnakeCaseAddress
    - `name` string
    - `company` string
    - `line1` string
    - `line2` string
    - `city` string
    - `state` string
    - `postal_code` string
    - `phone` string
    - `email` string
    - `country_code` 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)
