GET /v1/reservations/{id}

Get reservation details

Returns detailed information about a specific reservation including guest, room, and payment details

Request

GET /v1/reservations/{id}

Parameters

[ { "schema": { "type": "string" }, "required": true, "name": "id", "in": "path" } ]

Response

{ "200": { "description": "Reservation details retrieved successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "data": { "type": "object", "properties": { "reservation": { "type": "object", "properties": { "id": { "type": "string" }, "company_id": { "type": "string" }, "provider": { "type": [ "string", "null" ] }, "external_id": { "type": [ "string", "null" ] }, "property_id": { "type": "string" }, "room_id": { "type": "string" }, "guest_id": { "type": "string" }, "check_in": { "type": "string" }, "check_out": { "type": "string" }, "nights": { "type": "number" }, "adults": { "type": "number" }, "children": { "type": "number" }, "total_amount_cents": { "type": "number" }, "currency": { "type": "string" }, "status": { "type": "string" }, "notes": { "type": [ "string", "null" ] }, "metadata": {}, "created_at": { "type": "string" }, "updated_at": { "type": "string" }, "guest": { "type": "object", "properties": { "id": { "type": "string" }, "full_name": { "type": "string" }, "email": { "type": [ "string", "null" ] }, "phone": { "type": [ "string", "null" ] }, "national_id": { "type": [ "string", "null" ] }, "country": { "type": [ "string", "null" ] } }, "required": [ "id", "full_name", "email", "phone", "national_id", "country" ] }, "room": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "room_type": { "type": "string" }, "max_occupancy": { "type": "number" }, "amenities": { "type": "array", "items": { "type": "string" } } }, "required": [ "id", "name", "room_type", "max_occupancy", "amenities" ] }, "property": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "address": { "type": [ "string", "null" ] }, "property_type": { "type": [ "string", "null" ] } }, "required": [ "id", "name", "address", "property_type" ] }, "company": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } }, "required": [ "id", "company_id", "provider", "external_id", "property_id", "room_id", "guest_id", "check_in", "check_out", "nights", "adults", "children", "total_amount_cents", "currency", "status", "notes", "created_at", "updated_at", "guest", "room", "property", "company" ] } }, "required": [ "reservation" ] } }, "required": [ "success", "data" ] } } } }, "403": { "description": "Access denied to this reservation" }, "404": { "description": "Reservation not found" } }

View in Interactive API Reference