Feb
17
Tue
property booking #179
3:06 PM – 3:06 PM
From USD2032.00
bookings / #179
3:06 PM – 3:06 PM
From USD2032.00
curl -sS \
"https://example-data.com/api/v1/bookings/179" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/179"
);
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/179"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/179"
)
booking = res.json() {
"id": 179,
"userId": 248,
"kind": "property",
"referenceId": 142,
"checkInAt": "2026-02-17T15:06:46.310Z",
"checkOutAt": "2026-02-23T15:06:46.310Z",
"status": "cancelled",
"totalAmount": 2032,
"currency": "USD",
"createdAt": "2025-12-20T15:06:46.310Z"
}