Skip to content

Update

PATCH

/:tenantId

Body

json
{
    "name": "Mock Clinic",
    "city": "New York",
    "district": "Manhattan",
    "address": "123 Broadway St, New York, NY 10001",
    "mobile": "+1234567890",
    "phone": "+0987654321",
    "email": "info@mockclinic.com",
    "contact_name": "Dr. Jane Doe",
    "contact_email": "jane.doe@mockclinic.com",
    "contact_phone": "+11234567890",
    "lat": 40.712776,
    "lng": -74.005974,
    "logo": null,
    "timezone": "America/New_York",
    "account_type": 2,
    "is_license_expired": false,
    "license_expires_at": "2027-01-01T00:00:00.000000Z",
    "default_currency": "USD",
    "currencies": [
      "USD",
      "EUR"
    ],
    "require_confirmation_on_calendar": true
  }
FieldTypeRequiredDescription
namestringNoThe name of the clinic.
citystringNoThe city where the clinic is located.
districtstringNoThe district within the city where the clinic is located.
addressstringNoThe full address of the clinic.
mobilestringNoThe mobile phone number of the clinic, including country code.
phonestringNoAn alternate phone number for the clinic, including country code.
emailstringNoThe email address for the clinic, used for general communication.
contact_namestringNoThe name of the primary contact person for the clinic.
contact_emailstringNoThe email address of the clinic's primary contact person.
contact_phonestringNoThe phone number of the clinic's primary contact person, including country code.
latitudefloatNoThe latitude coordinate of the clinic's location.
longitudefloatNoThe longitude coordinate of the clinic's location.
logostringNoA URL pointing to the clinic's logo. (base64-encoded)
timezonestringNoThe timezone of the clinic (e.g., "America/New_York").
default_currencystringNoThe default currency used by the clinic (e.g., "USD").
currenciesarray of stringsNoA list of currencies supported by the clinic (["USD", "EUR", "GBP", "TRY", "TZS"]).
require_confirmation_on_calendarbooleanNoIndicates whether confirmation is required for calendar actions (true or false).

Response

HTTP 200 OK

json
{
  "data": {
    "name": "Mock Clinic",
    "city": "New York",
    "district": "Manhattan",
    "address": "123 Broadway St, New York, NY 10001",
    "mobile": null,
    "phone": null,
    "email": "info@mockclinic.com",
    "contact_name": "Miss Lenora Langosh",
    "contact_email": "nelle.bayer@example.com",
    "contact_phone": "+19063296179",
    "lat": 40.712776,
    "lng": -74.005974,
    "logo": null,
    "timezone": "Europe/Istanbul",
    "account_type": 1,
    "is_license_expired": false,
    "license_expires_at": "2026-04-16T13:30:16.000000Z",
    "default_currency": "USD",
    "currencies": [
      "USD",
      "EUR"
    ],
    "require_confirmation_on_calendar": true
  }
}