getItemStorageUnitQuantities
READGet item storage unit quantities.
POST /api/v1/items/getItemStorageUnitQuantities
curl -X POST '<your-host>/api/v1/items/getItemStorageUnitQuantities' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"itemId": "string",
"locationId": "string"
}'Response
{
"results": [
{
"itemId": "string",
"quantity": 0,
"readableId": "string",
"storageUnitId": "string",
"storageUnitName": "string",
"trackedEntityId": "string"
}
],
"count": null
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"itemId": {
"type": "string"
},
"locationId": {
"type": "string"
}
},
"required": [
"itemId",
"locationId"
]
}