List all warehouses

Lists information about all warehouses set up in your store.

Request body example

curl --location --request GET 'https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/warehouses' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}'

Response body example

[
  {
    "id": "1937054",
    "name": "Estoque A",
    "warehouseDocks": [
      {
        "dockId": "1_1_1",
        "time": "1.00:00:00",
        "cost": 0
      }
    ]
  },
  {
    "id": "140ac66",
    "name": "Estoque B",
    "warehouseDocks": [
      {
        "dockId": "139270d",
        "time": "00:00:00",
        "cost": 0
      }
    ]
  },
  {
    "id": "1448dc2",
    "name": "Estoque C",
    "warehouseDocks": [
      {
        "dockId": "avl",
        "time": "1.00:00:00",
        "cost": 0
      }
    ]
  },
  {
    "id": "avl",
    "name": "Estoque InStore",
    "warehouseDocks": [
      {
        "dockId": "avl",
        "time": "1.00:00:00",
        "cost": 0
      }
    ]
  },
  {
    "id": "15bfc76",
    "name": "Estoque Principal",
    "warehouseDocks": [
      {
        "dockId": "1a8bce3",
        "time": "3.00:00:00",
        "cost": 5
      }
    ]
  },
  {
    "id": "pickuppoint",
    "name": "PickupPoint",
    "warehouseDocks": [
      {
        "dockId": "pickup_1",
        "time": "1.00:00:00",
        "cost": 1
      },
      {
        "dockId": "pickup_2",
        "time": "1.00:00:00",
        "cost": 1
      },
      {
        "dockId": "pickup_3",
        "time": "1.00:00:00",
        "cost": 1
      }
    ]
  },
  {
    "id": "pickuppoint_2",
    "name": "PickupPoint 2",
    "warehouseDocks": [
      {
        "dockId": "pickup_2",
        "time": "5.00:00:00",
        "cost": 5
      }
    ]
  }
]
Language
Authentication
URL
Click Try It! to start a request and see the response here!