example-data.com

bookings / #223

Dec
9
Tue

property booking #223

10:11 PM – 10:11 PM

From AUD8564.67

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/223"
)
booking = res.json()
{
  "id": 223,
  "userId": 68,
  "kind": "property",
  "referenceId": 152,
  "checkInAt": "2025-12-09T22:11:41.622Z",
  "checkOutAt": "2025-12-22T22:11:41.622Z",
  "status": "pending",
  "totalAmount": 8564.67,
  "currency": "AUD",
  "createdAt": "2025-11-30T22:11:41.622Z"
}
Draftbit