Jul
6
Mon
property booking #234
9:35 AM – 9:35 AM
From AUD4470.30
bookings / #234
9:35 AM – 9:35 AM
From AUD4470.30
curl -sS \
"https://example-data.com/api/v1/bookings/234" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/234"
);
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/234"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/234"
)
booking = res.json() {
"id": 234,
"userId": 239,
"kind": "property",
"referenceId": 55,
"checkInAt": "2026-07-06T09:35:30.644Z",
"checkOutAt": "2026-07-19T09:35:30.644Z",
"status": "completed",
"totalAmount": 4470.3,
"currency": "AUD",
"createdAt": "2026-05-05T09:35:30.644Z"
}