example-data.com

bookings / #178

Jul
29
Tue

property booking #178

1:29 PM – 1:29 PM

From JPY2639.92

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/178"
)
booking = res.json()
{
  "id": 178,
  "userId": 168,
  "kind": "property",
  "referenceId": 19,
  "checkInAt": "2025-07-29T13:29:52.812Z",
  "checkOutAt": "2025-08-07T13:29:52.812Z",
  "status": "cancelled",
  "totalAmount": 2639.92,
  "currency": "JPY",
  "createdAt": "2025-07-03T13:29:52.812Z"
}
Draftbit