Update a medication
Update dose, schedule or details. Dose and schedule changes are recorded in the change history.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
medication_id*Medication Id
Format
uuidHeader Parameters
x-api-key?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Changing dosage or schedule records a medication_changes row so the
timeline can show "dose changed from 25 mg to 50 mg" as context.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/v1/medications/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}