Skip to content

getStorageUnitSubtrees

READ

Get storage unit subtrees.

POST /api/v1/inventory/getStorageUnitSubtrees
curl -X POST '<your-host>/api/v1/inventory/getStorageUnitSubtrees' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "locationId": "string",
    "rootIds": [],
    "maxDepth": 0
  }'
Response
"…"

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string"
    },
    "rootIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "maxDepth": {
      "type": "number"
    }
  },
  "required": [
    "locationId",
    "rootIds",
    "maxDepth"
  ]
}