Check item availability
curl --request POST \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/inventory/availability \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entries": [
{
"item_id": "9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02"
},
{
"system": "gtin",
"value": "6001234567890"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entries: [
{item_id: '9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02'},
{system: 'gtin', value: '6001234567890'}
]
})
};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/inventory/availability', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.clinikehr.com/v1/clinics/{clinic_id}/inventory/availability"
payload = { "entries": [
{ "item_id": "9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02" },
{
"system": "gtin",
"value": "6001234567890"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"item_id": "9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02",
"matched": true,
"band": "in_stock",
"as_of": "2026-09-20T10:00:00.000Z"
},
{
"item_id": null,
"matched": false,
"band": null,
"as_of": null
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}Inventory
Check item availability
Permission: inventory.availability:read
Availability for up to 100 items, by id or by identifier.
For a workspace TEST key this reads the workspace’s seeded synthetic sandbox — same shape either way.
POST
/
v1
/
clinics
/
{clinic_id}
/
inventory
/
availability
Check item availability
curl --request POST \
--url https://api.clinikehr.com/v1/clinics/{clinic_id}/inventory/availability \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entries": [
{
"item_id": "9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02"
},
{
"system": "gtin",
"value": "6001234567890"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
entries: [
{item_id: '9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02'},
{system: 'gtin', value: '6001234567890'}
]
})
};
fetch('https://api.clinikehr.com/v1/clinics/{clinic_id}/inventory/availability', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.clinikehr.com/v1/clinics/{clinic_id}/inventory/availability"
payload = { "entries": [
{ "item_id": "9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02" },
{
"system": "gtin",
"value": "6001234567890"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"item_id": "9c1e6f2a-9b2b-4a36-8f6a-2f7b1e8b9a02",
"matched": true,
"band": "in_stock",
"as_of": "2026-09-20T10:00:00.000Z"
},
{
"item_id": null,
"matched": false,
"band": null,
"as_of": null
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"code": "<string>",
"request_id": "<string>",
"detail": "<string>",
"errors": [
{
"pointer": "<string>",
"message": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Required array length:
1 - 100 elementsExactly one of an item_id, or a {system, value} identifier — never both.
- Option 1
- Option 2
Show child attributes
Show child attributes
Response
OK. One entry per requested item, in request order.
Show child attributes
Show child attributes