Oct
4
Sun
property booking #64
9:11 PM – 9:11 PM
From JPY1159.41
bookings / #64
9:11 PM – 9:11 PM
From JPY1159.41
curl -sS \
"https://example-data.com/api/v1/bookings/64" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/64"
);
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/64"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/64"
)
booking = res.json() {
"id": 64,
"userId": 125,
"kind": "property",
"referenceId": 95,
"checkInAt": "2026-10-04T21:11:21.985Z",
"checkOutAt": "2026-10-16T21:11:21.985Z",
"status": "confirmed",
"totalAmount": 1159.41,
"currency": "JPY",
"createdAt": "2026-07-18T21:11:21.985Z"
}