example-data.com

bookings / #82

Nov
17
Tue

hotel booking #82

10:59 AM – 10:59 AM

From CAD2355.67

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/82"
)
booking = res.json()
{
  "id": 82,
  "userId": 178,
  "kind": "hotel",
  "referenceId": 118,
  "checkInAt": "2026-11-17T10:59:56.507Z",
  "checkOutAt": "2026-11-22T10:59:56.507Z",
  "status": "completed",
  "totalAmount": 2355.67,
  "currency": "CAD",
  "createdAt": "2026-10-15T10:59:56.507Z"
}
Draftbit