cURL
curl --request GET \ --url https://api.example.com/v1/inventory/stock-levels \ --header 'Authorization: Bearer <token>' \ --header 'X-Organization-Id: <x-organization-id>'
{ "code": "success", "data": { "stockLevels": [ { "productId": "prod_01J5K8N2XRQV3M7YGWT4HB6E9C", "productName": "Botox 100 Units", "productGtin": "00814260991517", "productType": "drug", "quantity": 24, "updatedAt": "2025-01-20T17:00:00.000Z" } ] } }
Returns current stock levels for a facility. Requires read:inventory scope.
Marketplace API key
Target clinic organization ID
Facility ID to get stock levels for
Success
Response code
"success"
Show child attributes