Skip to content

Update

PATCH

/:tenantId/appointment-types/:id

Body

json
{
    "name": "type name",
    "is_default": 0,
    "color": "#ed4e8f",
    "status": "0"
}
KeyTypeRequiredDescription
namestringnoThe name of the appointment type.
is_defaultintegernoIndicates if it's the default type
0: No (default)
1: Yes
colorstringnoThe color associated with the appointment type.
statusintegernoThe status of the appointment type
0: Inactive
1: Active (default)

Response

json
{
  "data": {
    "id": 22,
    "name": "type name",
    "status": 0,
    "is_default": false,
    "color": "#ed4e8f",
    "deleted_at": null,
    "created_at": "2024-06-07T10:38:45.000000Z",
    "updated_at": "2024-11-29T06:24:31.000000Z"
  }
}