Oct
30
Fri
property booking #149
12:56 PM – 12:56 PM
From GBP991.00
bookings / #149
12:56 PM – 12:56 PM
From GBP991.00
curl -sS \
"https://example-data.com/api/v1/bookings/149" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/149"
);
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/149"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/149"
)
booking = res.json() {
"id": 149,
"userId": 134,
"kind": "property",
"referenceId": 175,
"checkInAt": "2026-10-30T12:56:38.854Z",
"checkOutAt": "2026-11-11T12:56:38.854Z",
"status": "completed",
"totalAmount": 991,
"currency": "GBP",
"createdAt": "2026-09-23T12:56:38.854Z"
}