example-data.com

bookings / #94

Feb
18
Wed

hotel booking #94

11:24 AM – 11:24 AM

From EUR8937.03

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/94"
)
booking = res.json()
{
  "id": 94,
  "userId": 141,
  "kind": "hotel",
  "referenceId": 121,
  "checkInAt": "2026-02-18T11:24:20.527Z",
  "checkOutAt": "2026-02-27T11:24:20.527Z",
  "status": "confirmed",
  "totalAmount": 8937.03,
  "currency": "EUR",
  "createdAt": "2026-01-18T11:24:20.527Z"
}
Draftbit