curl --request POST \
--url https://api.skulabs.com/inventory/get_grouped_locations_map \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {}
}'[
{
"_id": "507f1f77bcf86cd799439011",
"locations": [
{
"location_id": "<string>",
"item_id": "<string>",
"on_hand": 123,
"alert": 123
}
]
}
]Retrieve inventory quantities grouped by location across warehouses.
curl --request POST \
--url https://api.skulabs.com/inventory/get_grouped_locations_map \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {}
}'[
{
"_id": "507f1f77bcf86cd799439011",
"locations": [
{
"location_id": "<string>",
"item_id": "<string>",
"on_hand": 123,
"alert": 123
}
]
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query data object
Inventory grouped by location or element. Returns an array by default, or a map when result_type is "map".