Update
PATCH
/:tenantIdBody
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
}| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | The name of the clinic. |
| city | string | No | The city where the clinic is located. |
| district | string | No | The district within the city where the clinic is located. |
| address | string | No | The full address of the clinic. |
| mobile | string | No | The mobile phone number of the clinic, including country code. |
| phone | string | No | An alternate phone number for the clinic, including country code. |
| string | No | The email address for the clinic, used for general communication. | |
| contact_name | string | No | The name of the primary contact person for the clinic. |
| contact_email | string | No | The email address of the clinic's primary contact person. |
| contact_phone | string | No | The phone number of the clinic's primary contact person, including country code. |
| latitude | float | No | The latitude coordinate of the clinic's location. |
| longitude | float | No | The longitude coordinate of the clinic's location. |
| logo | string | No | A URL pointing to the clinic's logo. (base64-encoded) |
| timezone | string | No | The timezone of the clinic (e.g., "America/New_York"). |
| default_currency | string | No | The default currency used by the clinic (e.g., "USD"). |
| currencies | array of strings | No | A list of currencies supported by the clinic (["USD", "EUR", "GBP", "TRY", "TZS"]). |
| require_confirmation_on_calendar | boolean | No | Indicates 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
}
}