example-data.com

bookings / #108

Nov
3
Tue

hotel booking #108

1:06 PM – 1:06 PM

From JPY83.68

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/bookings/108" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/bookings/108"
);
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/108"
);
const booking = (await res.json()) as Booking;
import requests

res = requests.get(
    "https://example-data.com/api/v1/bookings/108"
)
booking = res.json()
{
  "id": 108,
  "userId": 32,
  "kind": "hotel",
  "referenceId": 44,
  "checkInAt": "2026-11-03T13:06:43.797Z",
  "checkOutAt": "2026-11-15T13:06:43.797Z",
  "status": "pending",
  "totalAmount": 83.68,
  "currency": "JPY",
  "createdAt": "2026-09-15T13:06:43.797Z"
}
Draftbit