Apr
26
Sun
property booking #69
9:06 AM – 9:06 AM
From USD 836.03
Overview
bookings / #69
9:06 AM – 9:06 AM
From USD 836.03
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/69" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/69" ); const booking = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/bookings.d.ts https://example-data.com/types/bookings.d.ts
import type { Booking } from "./types/bookings";
const res = await fetch(
"https://example-data.com/api/v1/bookings/69"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/69"
)
booking = res.json() Response
{
"id": 69,
"userId": 108,
"kind": "property",
"referenceId": 13,
"checkInAt": "2026-04-26T09:06:51.957Z",
"checkOutAt": "2026-04-27T09:06:51.957Z",
"status": "cancelled",
"totalAmount": 836.03,
"currency": "USD",
"createdAt": "2026-01-31T09:06:51.957Z"
}