Oct
14
Wed
property booking #31
10:58 AM – 10:58 AM
From JPY6792.98
bookings / #31
10:58 AM – 10:58 AM
From JPY6792.98
curl -sS \
"https://example-data.com/api/v1/bookings/31" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/31"
);
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/31"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/31"
)
booking = res.json() {
"id": 31,
"userId": 245,
"kind": "property",
"referenceId": 32,
"checkInAt": "2026-10-14T10:58:20.439Z",
"checkOutAt": "2026-10-27T10:58:20.439Z",
"status": "cancelled",
"totalAmount": 6792.98,
"currency": "JPY",
"createdAt": "2026-08-26T10:58:20.439Z"
}