Sep
25
Thu
property booking #139
8:55 PM – 8:55 PM
From USD1662.55
bookings / #139
8:55 PM – 8:55 PM
From USD1662.55
curl -sS \
"https://example-data.com/api/v1/bookings/139" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/139"
);
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/139"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/139"
)
booking = res.json() {
"id": 139,
"userId": 222,
"kind": "property",
"referenceId": 23,
"checkInAt": "2025-09-25T20:55:15.262Z",
"checkOutAt": "2025-10-03T20:55:15.262Z",
"status": "cancelled",
"totalAmount": 1662.55,
"currency": "USD",
"createdAt": "2025-09-01T20:55:15.262Z"
}