Dec
22
Mon
property booking #80
8:30 AM – 8:30 AM
From JPY6212.15
bookings / #80
8:30 AM – 8:30 AM
From JPY6212.15
curl -sS \
"https://example-data.com/api/v1/bookings/80" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/80"
);
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/80"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/80"
)
booking = res.json() {
"id": 80,
"userId": 135,
"kind": "property",
"referenceId": 71,
"checkInAt": "2025-12-22T08:30:31.614Z",
"checkOutAt": "2025-12-28T08:30:31.614Z",
"status": "confirmed",
"totalAmount": 6212.15,
"currency": "JPY",
"createdAt": "2025-09-26T08:30:31.614Z"
}