example-data.com

bookings / #89

Jul
17
Fri

flight booking #89

12:42 PM – 12:42 PM

From JPY5778.59

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/89"
)
booking = res.json()
{
  "id": 89,
  "userId": 193,
  "kind": "flight",
  "referenceId": 369,
  "checkInAt": "2026-07-17T12:42:07.909Z",
  "checkOutAt": "2026-07-17T12:42:07.909Z",
  "status": "completed",
  "totalAmount": 5778.59,
  "currency": "JPY",
  "createdAt": "2026-05-28T12:42:07.909Z"
}
Draftbit