Skip to main content
POST
/
inventory
/
calculate_free_map
Inventory - Calculate Free Map
curl --request POST \
  --url https://api.skulabs.com/inventory/calculate_free_map \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items_ids": [
    "<string>"
  ],
  "warehouse_ids": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json
items_ids
string[]
required

Array of item IDs

warehouse_ids
string[]

Filter by warehouse IDs

Response

Map of item IDs to free inventory quantities. When warehouse_linked_reserves is enabled, returns nested map by warehouse_id then item_id.

{key}
object