Create or update a practice
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.
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.
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}$/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" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "locale": "string", "toothNumbering": "FDI", "currency": "GBP", "country": "string", "timezone": "string", "locations": [ { "locationRef": "string", "name": "string", "country": "string", "isDefault": true } ] }'{ "practiceRef": "string", "created": true}{ "practiceRef": "string", "created": true}{ "error": "string", "code": "string"}Create or update a patient PUT
Keyed by the Smileline patient id. A patient Smileline has asked to erase is refused for good.
Mark an order's chat read POST
Moves the practice's read cursor up to upToSequence (clamped to the newest shared message), as one of its active members. The cursor never moves back; a read that moves nothing changes nothing.