Get Hotel Rooms
Get available rooms for a specific hotel. Retrieve detailed room information including types, pricing, capacity, and availability status for a particular property.
GET /v2/merpi/hotels/:hotel_id/rooms
/v2/merpi/hotels/:hotel_id/roomsPath Parameters
Parameter
Type
Required
Description
Example Request
GET {{url}}/v2/merpi/hotels/16/roomsconst hotelId = 16;
const response = await fetch(`{{url}}/v2/merpi/hotels/${hotelId}/rooms`, {
method: 'GET',
headers: {
'X-API-KEY': 'your_api_key_here',
'TransactionMedium': 'Web'
}
});
const data = await response.json();Response
Success Response (200)
Response Fields
Hotel Summary
Field
Type
Description
Room Object
Field
Type
Description
Important Notes
Integration Flow
Next Steps
Last updated