Set an appointment's status
Mark an appointment in consultation, completed or a no-show.
Moves an appointment through the clinic's day, as the front desk and the practitioner do from Medos's calendar: the consultation starts, it is completed, or the patient did not come. Medos notifies the patient and staff as it does when the change is made in Medos.
API-key only, gated on devapi_appointments_status_update.
X-Acting-User-Id is optional.
Parameters
Path parameters
appointmentRefstringrequiredExample: SCHEDULED:91234SCHEDULED:<id>. A bare number means the same.
Query parameters
addressIdintegerrequiredExample: 1The appointment's location.
Headers
x-api-keystringrequiredExample: mk_…Your Developer API key. Server-side only.
X-Acting-User-IdstringExample: MDU_A1B2C3D4E5F6The staff member the call is attributed to, as an MDU_… id. Omit it to attribute the call to the workspace admin.
Content-TypestringrequiredExample: application/jsonThe body is JSON. Anything else is a 415.
Body
status"COMPLETED" | "IN_CONSULTATION" | "NO_SHOW"enumrequiredThe new status.
invoiceNotesstringWith COMPLETED only. Printed on the invoice. Up to 500 characters.
addressIdis required: the appointment'slocation.id.statusis one of three:IN_CONSULTATION: the practitioner has started the consultation.COMPLETED: the visit is done. AddinvoiceNotesto print a line on the invoice.NO_SHOW: the patient did not come.
- To cancel, use
DELETE.CANCELLEDis refused here, and so are refund fields. - Medos decides whether the change is allowed. A visit cannot be completed
before its day, a practitioner cannot start a second consultation at once, and
a
COMPLETEDorCANCELLEDappointment cannot be changed. ANO_SHOWcan still becomeCOMPLETEDif the patient arrives late. Each refusal is a400. PUT, notPATCH. APATCHto this path is a405withAllow: PUT.
Responses
The 200 body is the appointment with its new status, in the same shape as
GET /v1/appointments/{appointmentRef}.