Create or update a patient
Keyed by the Smileline patient id. A patient Smileline has asked to erase is refused for good.
Keyed by the Smileline patient id. A patient Smileline has asked to erase is refused for good.
Authorization
smilelineBearer Smileline cell credential gl_sl_v1_<cell>_<secret>, one per Smileline cell; accepted only on /smileline/v1. A practice belongs to one cell and is not found from any other.
In: header
Path Parameters
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/uRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/smileline/v1/practices/string/patients/string" \ -H "Content-Type: application/json" \ -d '{ "firstName": "string", "lastName": "string" }'{ "patientRef": "string", "created": true}{ "patientRef": "string", "created": true}{ "error": "string", "code": "string"}Set a user's role and capabilities PUT
Applies Smileline's desired state at its authority version. Older versions are refused with 409 stale_authority; the same version is a no-op replay.
Create or update a practice PUT
Profile, locale, tooth numbering, currency and sites. Creates the hidden clinic and its system owner on first call; sites missing from the list are deactivated. A closed practice is never revived.