---
title: "Update a reservation"
method: PATCH
path: "/v1/reservations/{reservationId}"
tags: ["Reservations"]
---

# Update a reservation

`PATCH /v1/reservations/{reservationId}`

## Request

- Base URL: `https://api.frihet.io`
- URL: `https://api.frihet.io/v1/reservations/{reservationId}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `reservationId` string, required

## Request body

- ReservationCreate
  - `guestName` string, required: Guest full name
  - `guestEmail` string, email
  - `propertyId` string, required: ID of the property
  - `checkIn` string, date, required: Check-in date (ISO 8601)
  - `checkOut` string, date, required: Check-out date (ISO 8601)
  - `status` 'Pending' | 'Confirmed' | 'Checked In' | 'Checked Out' | 'Cancelled'
  - `amount` number: Total amount in EUR
  - `channel` 'Direct' | 'Airbnb' | 'Booking.com' | 'Vrbo'
  - `confirmationCode` string
  - `complianceStatus` 'Not Started' | 'In Progress' | 'Completed' | 'Failed'
  - `nights` integer
  - `notes` string

## Response `200`

Reservation updated

- Reservation
  - `id` string
  - `guestName` string
  - `guestEmail` string, nullable
  - `propertyId` string
  - `checkIn` string, date-time
  - `checkOut` string, date-time
  - `status` 'Pending' | 'Confirmed' | 'Checked In' | 'Checked Out' | 'Cancelled'
  - `amount` number
  - `channel` string
  - `confirmationCode` string, nullable
  - `complianceStatus` string
  - `nights` integer
  - `notes` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400`: Bad request - invalid parameters or request body
- `401`: Authentication required or invalid API key
- `404`: Resource not found

---

[API](https://skmtc.dev/frihet/apis/frihet-api.md) · [All operations](https://skmtc.dev/frihet/apis/frihet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frihet/apis/frihet-api/revisions/3dd37f6a72d1?raw)
