Skip to main content
GET
/
location
/
get_all
Location - Get All
curl --request GET \
  --url https://api.skulabs.com/location/get_all \
  --header 'Authorization: Bearer <token>'
{
  "locations": [
    {
      "_id": "507f1f77bcf86cd799439011",
      "name": "<string>",
      "items": [
        {
          "item_id": "507f1f77bcf86cd799439011",
          "on_hand": 123,
          "inbound": 123,
          "alert": 123
        }
      ],
      "warehouse_id": "507f1f77bcf86cd799439011"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

warehouse_id
string
required

Warehouse ID to get all locations for

Example:

"507f1f77bcf86cd799439011"

Response

All locations in the warehouse with their inventory items

locations
object[]
required

Array of locations with items