example-data.com

bookings / #18

Jun
12
Fri

hotel booking #18

5:13 PM – 5:13 PM

From CAD3525.76

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/18"
)
booking = res.json()
{
  "id": 18,
  "userId": 176,
  "kind": "hotel",
  "referenceId": 23,
  "checkInAt": "2026-06-12T17:13:23.585Z",
  "checkOutAt": "2026-06-16T17:13:23.585Z",
  "status": "pending",
  "totalAmount": 3525.76,
  "currency": "CAD",
  "createdAt": "2026-05-20T17:13:23.585Z"
}
Draftbit