example-data.com

bookings / #171

Sep
26
Sat

flight booking #171

9:15 PM – 9:15 PM

From USD9042.10

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/171"
)
booking = res.json()
{
  "id": 171,
  "userId": 248,
  "kind": "flight",
  "referenceId": 272,
  "checkInAt": "2026-09-26T21:15:59.531Z",
  "checkOutAt": "2026-09-26T21:15:59.531Z",
  "status": "cancelled",
  "totalAmount": 9042.1,
  "currency": "USD",
  "createdAt": "2026-07-06T21:15:59.531Z"
}
Draftbit