example-data.com

bookings / #123

Sep
21
Mon

property booking #123

7:28 AM – 7:28 AM

From EUR7351.00

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/123"
)
booking = res.json()
{
  "id": 123,
  "userId": 29,
  "kind": "property",
  "referenceId": 184,
  "checkInAt": "2026-09-21T07:28:50.802Z",
  "checkOutAt": "2026-10-03T07:28:50.802Z",
  "status": "confirmed",
  "totalAmount": 7351,
  "currency": "EUR",
  "createdAt": "2026-07-16T07:28:50.802Z"
}
Draftbit