Get Started
Document V2
Payment V2
Customer V2
Vendor V2
Product V2
Inventory V2
Subscriptions V2
Utility V2
Inventory V2
Get all warehouses
GET
/
v2
/
inventory
/
warehouses
/
list
Copy
curl --request GET \
--url https://app.getswipe.in/api/partner/v2/inventory/warehouses/list \
--header 'Authorization: <api-key>'
Copy
{
"success": false,
"errors": {},
"error_code": "",
"message": "",
"warehouses": [
{
"warehouse_id": 1,
"name": "Main Warehouse"
}
]
}
Authorizations
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
.
Copy
curl --request GET \
--url https://app.getswipe.in/api/partner/v2/inventory/warehouses/list \
--header 'Authorization: <api-key>'
Copy
{
"success": false,
"errors": {},
"error_code": "",
"message": "",
"warehouses": [
{
"warehouse_id": 1,
"name": "Main Warehouse"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.