Update patient information by patient ID. Only provided fields will be updated. The patient must belong to the authorized account.
Security
PartnerApiKey and PartnerOAuth
Patient's date of birth in ISO 8601 format (YYYY-MM-DD). Send null to clear (not allowed if account requires DOB).
Example:"1990-01-15"
Patient's email address. Send null to clear and generate an anonymous email.
Example:"john.doe@example.com"
Patient's gender. Reference https://www.hl7.org/fhir/R4/codesystem-gender-identity.html for possible values.
Example:"Male"
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/{patientId}
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/patient/{patientId}
curl -i -X PUT \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/12345' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"dateOfBirth": "1990-01-15",
"email": "john.doe@example.com",
"firstName": "John",
"gender": "Male",
"lastName": "Doe",
"mobilePhone": "4155551234"
}'Patient updated successfully
Whether the patient is active. false indicates an archived or merged-away record.
Example:true
Patient's date of birth in ISO 8601 format (YYYY-MM-DD)
Example:"1990-01-15"
Response
{ "active": true, "createdAt": "2025-01-15T14:00:00Z", "dateOfBirth": "1990-01-15", "email": "john.doe@example.com", "firstName": "John", "gender": "male", "homeAddress": { "city": "San Francisco", "line1": "123 Main St", "line2": "Apt 4B", "postalCode": "94105", "stateRegion": "CA" }, "id": 12345, "lastName": "Doe", "mailingAddress": { "city": "San Francisco", "line1": "123 Main St", "line2": "Apt 4B", "postalCode": "94105", "stateRegion": "CA" }, "mobilePhone": "14155551234", "primaryLocationId": 1312, "primaryProviderId": 987, "updatedAt": "2025-01-15T14:00:00Z" }