---
title: "Update Appointment"
method: PATCH
path: "/v1/appointments/{appointmentId}"
---

# Update Appointment

`PATCH /v1/appointments/{appointmentId}`

## Request

- Base URL: `https://app.untetherlabs.com/api`
- URL: `https://app.untetherlabs.com/api/v1/appointments/{appointmentId}`
- Auth: HTTP bearer

## Path parameters

- `appointmentId` string, uuid, required

## Request body

- UpdateAppointmentRequest
  - `createdAt` string
  - `type` string: Appointment type, company specific
  - `status` 'upcoming' | 'occurred' | 'cancelled' | 'no-show' | 're-scheduled'
  - `providerId` string, uuid
  - `memberId` string, uuid, nullable
  - `startDate` string
  - `endDate` string
  - `actualStartDate` string, nullable
  - `actualEndDate` string, nullable
  - `location` string, nullable
  - `cancellationDate` string, nullable: Only present when status = `cancelled`
  - `cancellationReason` string, nullable: Only present when status = `cancelled`
  - `version` integer: Object version to change, will return a version conflict error if out of date

## Response `200`

- Appointment
  - `id` string, uuid, required
  - `createdAt` string, required
  - `type` string, required: Appointment type, company specific
  - `status` 'upcoming' | 'occurred' | 'cancelled' | 'no-show' | 're-scheduled', required
  - `providerId` string, uuid, required
  - `memberId` string, nullable, required
  - `startDate` string, required
  - `endDate` string, required
  - `actualStartDate` string, nullable, required
  - `actualEndDate` string, nullable, required
  - `location` string, nullable, required
  - `cancellationDate` string, nullable, required: Only present when status = `cancelled`
  - `cancellationReason` string, nullable, required: Only present when status = `cancelled`

## Other responses

- `400`: We follow the [RFC-9457](https://www.rfc-editor.org/rfc/rfc9457.html) Problem Detail specification for error responses. Errors should be identified by their `type` field. You can view extensions for each error response below.
- `404`: We follow the [RFC-9457](https://www.rfc-editor.org/rfc/rfc9457.html) Problem Detail specification for error responses. Errors should be identified by their `type` field. You can view extensions for each error response below.
- `409`: We follow the [RFC-9457](https://www.rfc-editor.org/rfc/rfc9457.html) Problem Detail specification for error responses. Errors should be identified by their `type` field. You can view extensions for each error response below.

---

[API](https://skmtc.dev/untetherlabs/apis/untether-labs-api.md) - [All operations](https://skmtc.dev/untetherlabs/apis/untether-labs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/untetherlabs/apis/untether-labs-api/revisions/143223935df3?raw)
