---
title: "Update appointment type"
method: PATCH
path: "/appointment_types/{id}"
tags: ["Appointment Type"]
---

# Update appointment type

`PATCH /appointment_types/{id}`

## Path parameters

- `id` string, int64, required

## Request body

- object
  - `add_deposit_to_account_credit` boolean, nullable
  - `billable_item_id` string, int64 — billable item id
  - `category` string, nullable
  - `color` string
  - `deposit_price` string, decimal, nullable
  - `description` string, nullable
  - `duration_in_minutes` integer
  - `online_bookings_lead_time_hours` 0 | 1 | 2 | 4 | 12 | 18 | 24 | 48 | 72 | 168 | 336 | 504 | 672, nullable
  - `online_payments_mode` 'deposit_required' | 'optional' | 'required', nullable
  - `max_attendees` integer
  - `name` string
  - `product_id` string, int64 — product id
  - `show_in_online_bookings` boolean, nullable
  - `telehealth_enabled` boolean, nullable
  - `treatment_note_template_id` string, int64 — treatment note template id
  - `appointment_confirmation_template_ids` string[], nullable
  - `appointment_follow_up_template_ids` string[], nullable
  - `appointment_reminder_template_ids` string[], nullable
  - `business_ids` string[]
  - `practitioner_ids` string[] — Practitioner ids

## Response `200`

Resource was updated

- AppointmentType
  - `add_deposit_to_account_credit` boolean, nullable
  - `appointment_confirmation_template_ids` string[], nullable
  - `appointment_follow_up_template_ids` string[], nullable
  - `appointment_reminder_template_ids` string[], nullable
  - `appointment_type_billable_items` object
    - `links` object
      - `self` string, uri
  - `appointment_type_products` object
    - `links` object
      - `self` string, uri
  - `archived_at` string, date-time, nullable
  - `billable_item` object
    - `links` object
      - `self` string, uri
  - `category` string, nullable
  - `color` string
  - `created_at` string, date-time
  - `deposit_price` string, decimal, nullable
  - `description` string, nullable
  - `duration_in_minutes` integer
  - `id` string, int64
  - `links` object
    - `self` string, uri
  - `max_attendees` integer
  - `name` string
  - `online_bookings_lead_time_hours` 0 | 1 | 2 | 4 | 12 | 18 | 24 | 48 | 72 | 168 | 336 | 504 | 672, nullable
  - `online_payments_enabled` boolean, nullable
  - `online_payments_mode` 'deposit_required' | 'optional' | 'required', nullable
  - `practitioners` object
    - `links` object
      - `self` string, uri
  - `product` object
    - `links` object
      - `self` string, uri
  - `show_in_online_bookings` boolean, nullable
  - `telehealth_enabled` boolean, nullable
  - `treatment_note_template` object
    - `links` object
      - `self` string, uri
  - `updated_at` string, date-time

## Other responses

- `422` — Resource could not be saved due to validation errors

---

[API](https://skmtc.dev/cliniko/apis/cliniko-api.md) · [All operations](https://skmtc.dev/cliniko/apis/cliniko-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cliniko/cliniko-api/revisions/6eeb88a96062/schema)
