cURL
curl --request GET \ --url https://api.example.com/v1/inventory/changes \ --header 'Authorization: Bearer <token>' \ --header 'X-Organization-Id: <x-organization-id>'
{ "code": "success", "data": { "changes": [ { "id": "chg_01J5K8N2XRQV3M7YGWT4HB6E9C", "facilityId": "fac_01J5K8N2XRQV3M7YGWT4HB6E9C", "name": "Weekly Receiving - Jan 20", "type": "receiving", "status": "closed", "notes": "Regular weekly shipment from Cardinal Health", "closedAt": "2025-01-20T17:00:00.000Z", "createdAt": "2025-01-20T09:00:00.000Z", "updatedAt": "2025-01-20T17:00:00.000Z", "itemCount": 15 } ] } }
Returns inventory changes for a facility. Requires read:inventory scope.
Marketplace API key
Target clinic organization ID
Facility ID to list changes for
Filter by change status
Success
Response code
"success"
Show child attributes