example-data.com

bookings / #24

Sep
26
Sat

hotel booking #24

3:23 AM – 3:23 AM

From USD5149.13

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/24"
)
booking = res.json()
{
  "id": 24,
  "userId": 199,
  "kind": "hotel",
  "referenceId": 39,
  "checkInAt": "2026-09-26T03:23:01.218Z",
  "checkOutAt": "2026-09-27T03:23:01.218Z",
  "status": "pending",
  "totalAmount": 5149.13,
  "currency": "USD",
  "createdAt": "2026-09-12T03:23:01.218Z"
}
Draftbit