example-data.com

bookings / #221

Oct
6
Tue

property booking #221

9:21 AM – 9:21 AM

From USD8036.33

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/221"
)
booking = res.json()
{
  "id": 221,
  "userId": 119,
  "kind": "property",
  "referenceId": 200,
  "checkInAt": "2026-10-06T09:21:32.942Z",
  "checkOutAt": "2026-10-18T09:21:32.942Z",
  "status": "pending",
  "totalAmount": 8036.33,
  "currency": "USD",
  "createdAt": "2026-08-02T09:21:32.942Z"
}
Draftbit