# List warehouses Returns all warehouses available to the merchant. See the Pagination section in the API overview above for details on how pagination works. Endpoint: GET /warehouses Version: 2.0.0 Security: BearerAuth ## Query parameters: - `limit` (integer) Number of items to return per page (for pagination) ## Response 200 fields (application/json): - `data` (array) - `data.city` (string) City where the warehouse is located - `data.country` (string) 2-letter [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. Examples: DE, US, FR, NL - `data.created_at` (string, required) When the warehouse was created - `data.id` (integer, required) Hive unique ID - `data.name` (string, required) Name of the warehouse - `data.updated_at` (string, required) When the warehouse was last updated - `pagination` (object) - `pagination.first_page_url` (string) URL to fetch the first page of results - `pagination.limit` (integer) Number of items returned per page - `pagination.next_page_url` (string,null) URL to fetch the next page of results. If null, there are no more results. ## Response 401 fields (application/json): - `errors` (any, required) Error information. Can be: - Object with field names as keys and error arrays as values (for validation errors) - Array of error objects with message, code, and optional metadata - Array of strings (for simple error messages) - `success` (boolean) Indicates if the request was successful - `title` (string) A brief, human-readable message about the error - `status` (integer) HTTP status code ## Response 403 fields (application/json): - `errors` (any, required) Error information. Can be: - Object with field names as keys and error arrays as values (for validation errors) - Array of error objects with message, code, and optional metadata - Array of strings (for simple error messages) - `success` (boolean) Indicates if the request was successful - `title` (string) A brief, human-readable message about the error - `status` (integer) HTTP status code ## Response 429 fields (application/json): - `errors` (any, required) Error information. Can be: - Object with field names as keys and error arrays as values (for validation errors) - Array of error objects with message, code, and optional metadata - Array of strings (for simple error messages) - `success` (boolean) Indicates if the request was successful - `title` (string) A brief, human-readable message about the error - `status` (integer) HTTP status code