## Overview

In order to get information for a single warehouse, you can consume the endpoint presented in this article. In order to consume it, you must:

- Be authenticated user

For information on how you can authenticate, see: [Authentication](https://developer.sellercloud.com/dev-article/authentication/)

As soon as you do authentication and receive a valid token, it needs to be passed on the call for receiving a single warehouse information.

- Have valid ID of an existing warehouse

### Endpoint

Example for such endpoint for **TT** server is:

[https://tt.api.sellercloud.com/rest/api/Warehouses/{id}](https://tt.api.sellercloud.com/rest/api/Warehouses/%7Bid%7D)

For your server endpoint will be:

[​https://{your_server_id}.api.sellercloud.com/rest/api/Warehouses/{id}](https://{your_server_id}.api.sellercloud.com/rest/api/Warehouses/%7Bid%7D)

### Request

- Method Type: **HttpGet**
- Authorization: Use **Bearer Token** + token received from token authentication
- Header info: **Content-Type: application/json**
- Parameters: ID of the existing warehouse

|     |     |     |     |
| --- | --- | --- | --- |
| **Parameter** | **Data Type** | **Description** | **Is Required** |
| id | integer | ID of existing warehouse | Yes |

Example: [https://tt.api.sellercloud.com/rest/api/warehouses/1](https://tt.api.sellercloud.com/rest/api/warehouses/1)

### Response

- If user is authenticated and provides a valid ID of an order, then response will be **Status Code 200 => OK** and order metadata in JSON format
- If user is not authenticated, then response will be **Status Code 401 => Not Valid Token**
- On server response => **Status Code 500 => Internal Server Error**
