---
title: "Update your Booking data"
method: POST
path: "/api/Booking/{api_token}"
tags: ["Booking Api"]
---

# Update your Booking data

`POST /api/Booking/{api_token}`

Requires api token

## Path parameters

- `api_token` string, required

## Query parameters

- `id` integer, required

## Request body

- Booking
  - `room_id` integer
  - `booking_hotel_id` string, nullable
  - `booking_room_id` string, nullable
  - `booking_rate_id` string, nullable

## Response `200`

The Booking data was updated

- Booking
  - `room_id` integer
  - `booking_hotel_id` string, nullable
  - `booking_room_id` string, nullable
  - `booking_rate_id` string, nullable

## Other responses

- `400` — The Booking data is invalid
- `500` — 500 - something odd happened

---

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