---
title: "GET /v1/configs/ecommerces/{ecommerce_id}/warehouses"
method: GET
path: "/v1/configs/ecommerces/{ecommerce_id}/warehouses"
tags: ["Settings"]
---

# GET /v1/configs/ecommerces/{ecommerce_id}/warehouses

`GET /v1/configs/ecommerces/{ecommerce_id}/warehouses`

## Request

- Base URL: `https://api.byrever.com`
- URL: `https://api.byrever.com/v1/configs/ecommerces/{ecommerce_id}/warehouses`
- Auth: API key in header `x-rever-api-key`

endpoint for finding Warehouses by ecommerce id

## Path parameters

- `ecommerce_id` string, required

## Query parameters

- `slug` string
- `group` string

## Response `200`

OK

- PbWarehouses: Warehouses
  - `warehouses` PbWarehouse[]: List of warehouses
    - `address_line1` string: AddressLine1
    - `address_line2` string: AddressLine2
    - `city` string: City
    - `company` string: Company
    - `country` string: Country
    - `country_code` string: CountryCode
    - `ecommerce_id` string: EcommerceID
    - `email` string: Email
    - `first_name` string: FirstName
    - `id` string: ID
    - `last_name` string: LastName
    - `phone` string: Phone
    - `postcode` string: Postcode
    - `state_province` string: StateProvince
    - `state_province_code` string: StateProvinceCode

---

[API](https://skmtc.dev/itsrever/apis/rever-admin-api.md) - [All operations](https://skmtc.dev/itsrever/apis/rever-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/itsrever/apis/rever-admin-api/revisions/25fae16e627d?raw)
