---
title: "Updates a booking"
method: PUT
path: "/v1/reservation/booking/{id}"
tags: ["Reservations"]
---

# Updates a booking

`PUT /v1/reservation/booking/{id}`

Updates an existing Booking with the provided details. Note that not all fields can be updated via this endpoint.

## Path parameters

- `id` integer, required

## Request body

- LodgifyApiPublicReservationsModelsV1BookingDetailsDto — Represents detailed information about a booking or enquiry.
  - `id` integer — The unique identifier for the booking or enquiry.
  - `type` string, nullable — The type of the record (e.g., "Booking" or "Enquiry").
  - `booking_type` string, nullable — Specifies whether this is a booking or an enquiry.
  - `status` string, nullable — The current status of the booking or enquiry.
  - `source` string, nullable — The origin source of the booking or enquiry.
  - `source_text` string, nullable — The textual description of the source.
  - `guest` LodgifyApiPublicReservationsModelsV1GuestDto — Represents information about a guest, including identification and location details.
    - `id` string, nullable — The unique identifier for the guest.
    - `country_name` string, nullable — The name of the guest's country.
    - `guest_name` LodgifyApiPublicReservationsModelsV1GuestNameDto, required — Represents the name details of a guest.
      - `first_name` string, nullable — The first name of the guest.
      - `last_name` string, nullable — The last name or surname of the guest.
      - `full_name` string, nullable — The full name of the guest, combining first and last names.
    - `name` string, nullable
    - `external_id` string, nullable — The external identifier of the guest in channels like Airbnb
    - `email` string, nullable — The email address of the guest
    - `phone` string, nullable — The phone number of the guest
    - `locale` string, nullable — The locale of the guest
    - `street_address1` string, nullable — The first line of the guest's street address
    - `street_address2` string, nullable — The second line of the guest's street address
    - `city` string, nullable — The city of the guest
    - `country_code` string, nullable — The country code of the guest
    - `postal_code` string, nullable — The postal code of the guest
    - `state` string, nullable — The state or province of the guest
  - `arrival` string, nullable — The arrival date in yyyy-MM-dd format.
  - `departure` string, nullable — The departure date in yyyy-MM-dd format.
  - `people` integer, nullable — The number of people included in the booking or enquiry.
  - `property_id` integer, nullable — The unique identifier of the property associated with the booking or enquiry.
  - `property_name` string, nullable — The name of the property associated with the booking or enquiry.
  - `rooms` LodgifyApiPublicReservationsModelsV1BookingRoomTypeDto[], nullable — The list of rooms included in the booking or enquiry.
    - `name` string, nullable — The name of the room type within the property.
    - `room_type_id` integer — The unique identifier of the room type
    - `guest_breakdown` LodgifyApiPublicReservationsModelsV12GuestBreakdownDto, required — The breakdown of guests for the booking or enquiry
      - `adults` integer — The number of adults
      - `children` integer — The number of children
      - `infants` integer — The number of infants
      - `pets` integer — The number of pets
    - `people` integer — (Deprecated. Use GuestBreakdown.Adults instead.) The number of people in the room
    - `key_code` string, nullable — The PIN code or key code provided to the guest for accessing the rented property
  - `created_at` string, date-time — The date and time when the booking or enquiry was created.
  - `is_replied` boolean — Indicates whether a reply has been sent to the renter.
  - `updated_at` string, date-time — The date and time when the booking or enquiry was last updated.
  - `is_deleted` boolean — Indicates whether the booking or enquiry has been deleted (moved to trash).
  - `date_deleted` string, date-time, nullable — The date and time of deletion, if applicable.
  - `total_amount` number, double, nullable — The total monetary amount for the booking or enquiry.
  - `total_paid` number, double — The total amount already paid for the booking or enquiry.
  - `amount_to_pay` number, double, nullable — The remaining amount to be paid for the booking or enquiry.
  - `thread_uid` string, uuid — The unique identifier of the message thread associated with the booking.
  - `currency` LodgifyApiPublicReservationsModelsV1CurrencyDto — Information about a supported currency.
    - `id` integer — The unique identifier of the currency.
    - `code` string, nullable — The 3-letter ISO currency code.
    - `name` string, nullable — The name of the currency.
    - `euro_forex` number, double — The exchange rate of the currency against the Euro.
    - `symbol` string, nullable — The symbol used to represent the currency.
  - `note` string, nullable — An administrative note regarding the booking.
  - `messages` LodgifyApiPublicReservationsModelsV1BookingThreadMessageDto[], nullable — A collection of messages exchanged between the owner, renter, and system.
    - `subject` string, nullable — The subject line of the message.
    - `message` string, nullable — The body content of the message.
    - `type` 'Owner' | 'Comment' | 'Renter'
    - `is_replied` boolean — Indicates whether a reply has been sent to this message.
    - `created_at` string, date-time — The date and time when the message was created.
  - `payment_type` string, nullable — (Obsolete. Use PaymentWebsiteId instead.) The payment type used for this booking.
  - `payment_address` string, nullable — (Obsolete. Use PaymentWebsiteId instead.) The payment address associated with this booking.
  - `payment_website_id` integer, nullable — The identifier of the website selected as the payment gateway for this booking.

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/lodgify/apis/lodgify-public-api-v1.md) · [All operations](https://skmtc.net/lodgify/apis/lodgify-public-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lodgify/lodgify-public-api-v1/versions/ddf40757d411/schema)
