example-data.com

bookings / #227

Aug
14
Fri

flight booking #227

2:23 PM – 2:23 PM

From USD4089.37

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/227"
)
booking = res.json()
{
  "id": 227,
  "userId": 243,
  "kind": "flight",
  "referenceId": 351,
  "checkInAt": "2026-08-14T14:23:15.446Z",
  "checkOutAt": "2026-08-14T14:23:15.446Z",
  "status": "pending",
  "totalAmount": 4089.37,
  "currency": "USD",
  "createdAt": "2026-06-29T14:23:15.446Z"
}
Draftbit