Mar
18
Wed
property booking #463
3:53 AM – 3:53 AM
From GBP 7172.22
Overview
bookings / #463
3:53 AM – 3:53 AM
From GBP 7172.22
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/463" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/463" ); 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/463"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/463"
)
booking = res.json() Response
{
"id": 463,
"userId": 31,
"kind": "property",
"referenceId": 181,
"checkInAt": "2026-03-18T03:53:15.248Z",
"checkOutAt": "2026-03-19T03:53:15.248Z",
"status": "cancelled",
"totalAmount": 7172.22,
"currency": "GBP",
"createdAt": "2026-02-18T03:53:15.248Z"
}