Listing warehouses

API reference ReturnShipmentListAPI

Overview

This endpoint can be used to get the list of the warehouses available for your account

Method access
GET https://api.getbyrd.com/v2/warehouse/warehouses
Request Headers
Authorization: Bearer token-from >Authentication
Content-Type: application/json
User-Agent: your user-agent >How to call the APIs

Successful response

{
    "page": 0,
    "per_page": 250,
    "page_count": 1,
    "total_count": 1,
    "data": [
        {
            "disallowedShipmentOptions": null,
            "updatedAt": "2023-02-09T09:26:02.024840+00:00",
            "name": "Test Warehouse",
            "countryCode": "DE",
            "openingHours": null,
            "id": "warehouse_id",
            "createdAt": "2018-10-27T14:31:22.521179+00:00",
            "code": "TST",
            "displayName": "Norfolk Alpha",
            "legalName": "Test warehouse legal name",
            "deliveryAddress": {
                "subLocality": "",
                "updatedAt": "2022-05-13T07:43:31.591640+00:00",
                "countryCode": "DE",
                "phone": "+491515",
                "subSubThoroughfare": "",
                "latitude": null,
                "adminArea": "admin_area_id",
                "id": "address_id",
                "locality": "Berlin",
                "createdAt": "2019-09-04T10:20:52.527709+00:00",
                "countryName": null,
                "subThoroughfare": "36",
                "thoroughfare": "Lobeckstraße",
                "subAdminArea": "sub_admin_area_id",
                "longitude": null,
                "postalCode": "10969"
            }
        }
    ]
}