Skip to main content
PUT
Update a patient
Updates an existing patient. Send only the fields you want to change; everything you omit keeps its current value. The patient is identified by the patientId query parameter, not by the body.
address can be partial too — send just the parts you’re changing and the rest of the address stays as it was:
Rules worth knowing:
  • At least one field is required; an empty body returns 400.
  • An empty string returns 400 rather than clearing the value. Clearing a field isn’t supported — send the corrected value instead.
  • patientId in the body is ignored; the query parameter is what identifies the patient.
  • The patient must belong to your clinic, otherwise 403.
Field names match List patients exactly, so a record you read can be sent straight back with the parts you changed.

Authorizations

Authorization
string
header
required

OAuth2 client credentials. Generate a client ID and client secret in the Portal, exchange them for an access token, then send Authorization: Bearer <access_token>. Request the result and report scopes to read results.

Query Parameters

patientId
integer
required

Id of the patient to update.

Body

application/json

Send only the fields you want to change; omitted fields keep their current value. address may also be partial — send just the parts of it you are changing. At least one field is required; an empty body returns 400, and an empty string returns 400 rather than clearing the value.

patientFirstName
string
Example:

"Jane"

patientLastName
string
Example:

"Doe"

patientMiddleName
string
patientGender
enum<string>

Sex assigned at birth — Female or Male. Laboratory reference ranges depend on it, so this is not a gender-identity field and no other value is accepted.

Available options:
Female,
Male
Example:

"Female"

patientDateOfBirth
string<date>

Date of birth, YYYY-MM-DD.

Example:

"1990-05-21"

patientEmail
string<email>
patientPhoneNumber
string
Example:

"4085550100"

address
object
guardianEmail
string<email>
patientHeight
string

Height, in inches.

Example:

"65"

patientWeight
string
Example:

"150"

Response

Patient updated.

patientId
integer
Example:

750123