Jan
17
Sat
property booking #150
8:24 PM – 8:24 PM
From GBP4935.15
bookings / #150
8:24 PM – 8:24 PM
From GBP4935.15
curl -sS \
"https://example-data.com/api/v1/bookings/150" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/150"
);
const booking = await res.json();import type { Booking } from "https://example-data.com/types/bookings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/bookings/150"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/150"
)
booking = res.json() {
"id": 150,
"userId": 58,
"kind": "property",
"referenceId": 97,
"checkInAt": "2026-01-17T20:24:07.402Z",
"checkOutAt": "2026-01-31T20:24:07.402Z",
"status": "confirmed",
"totalAmount": 4935.15,
"currency": "GBP",
"createdAt": "2026-01-08T20:24:07.402Z"
}