example-data.com

bookings / #130

Jun
4
Thu

flight booking #130

7:52 PM – 7:52 PM

From USD6089.62

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/130"
)
booking = res.json()
{
  "id": 130,
  "userId": 100,
  "kind": "flight",
  "referenceId": 232,
  "checkInAt": "2026-06-04T19:52:14.462Z",
  "checkOutAt": "2026-06-04T19:52:14.462Z",
  "status": "pending",
  "totalAmount": 6089.62,
  "currency": "USD",
  "createdAt": "2026-04-13T19:52:14.462Z"
}
Draftbit