example-data.com

bookings / #77

Nov
6
Fri

property booking #77

3:36 PM – 3:36 PM

From SGD6127.28

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/77"
)
booking = res.json()
{
  "id": 77,
  "userId": 151,
  "kind": "property",
  "referenceId": 17,
  "checkInAt": "2026-11-06T15:36:25.110Z",
  "checkOutAt": "2026-11-11T15:36:25.110Z",
  "status": "confirmed",
  "totalAmount": 6127.28,
  "currency": "SGD",
  "createdAt": "2026-09-11T15:36:25.110Z"
}
Draftbit