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 AuthorizationBearer <token>
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
practiceRef*string
Match
^[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}Empty
Empty
Empty
{ "error": "string", "code": "string"}