example-data.com

bookings / #57

Apr
10
Fri

property booking #57

1:07 AM – 1:07 AM

From EUR7657.02

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/57"
)
booking = res.json()
{
  "id": 57,
  "userId": 111,
  "kind": "property",
  "referenceId": 81,
  "checkInAt": "2026-04-10T01:07:07.988Z",
  "checkOutAt": "2026-04-11T01:07:07.988Z",
  "status": "cancelled",
  "totalAmount": 7657.02,
  "currency": "EUR",
  "createdAt": "2026-01-15T01:07:07.988Z"
}
Draftbit