---
title: "Live room availability and pricing"
method: POST
path: "/v1/hotels/{ref}/rooms"
tags: ["hotels"]
---

# Live room availability and pricing

`POST /v1/hotels/{ref}/rooms`

## Request

- Base URL: `https://api.getmyhotels.com`
- URL: `https://api.getmyhotels.com/v1/hotels/{ref}/rooms`
- Auth: none declared

Runs `hotel.getSupplierRooms` for the hotel ref with the stay in the body.

## Path parameters

- `ref` string, required

## Request body

- object
  - `checkIn` string, date, required
  - `checkOut` string, date, required
  - `adults` integer
  - `children` integer
  - `rooms` integer
  - `childrenAges` integer[]
  - `currency` 'USD' | 'GBP' | 'EUR' | 'INR'

## Response `200`

Success

- unknown

## Other responses

- `400`: Request validation failed or the router rejected the input
- `426`: Reported X-GMH-App-Version is below the supported minimum — the app must update
- `500`: Unexpected server error (opaque; details stay in logs)

---

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