example-data.com

bookings / #73

Sep
4
Fri

hotel booking #73

7:02 AM – 7:02 AM

From AED5039.89

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/73"
)
booking = res.json()
{
  "id": 73,
  "userId": 69,
  "kind": "hotel",
  "referenceId": 2,
  "checkInAt": "2026-09-04T07:02:25.596Z",
  "checkOutAt": "2026-09-18T07:02:25.596Z",
  "status": "cancelled",
  "totalAmount": 5039.89,
  "currency": "AED",
  "createdAt": "2026-06-27T07:02:25.596Z"
}
Draftbit