GET
/
v2
/
inventory
/
warehouses
/
list
curl --request GET \
  --url https://app.getswipe.in/api/partner/v2/inventory/warehouses/list \
  --header 'Authorization: <api-key>'
{
  "success": false,
  "errors": {},
  "error_code": "",
  "message": "",
  "warehouses": [
    {
      "warehouse_id": 1,
      "name": "Main Warehouse"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Success

The response is of type object.