İçeriğe atla

Booking price snapshots

What the price calculation of a booking used, and what it resulted in

The booking price snapshot object

Attributes

iduuid

Unique identifier

booking_iduuid

Identifier of the related booking

organization_iduuid

Identifier of the related organization

created_atread-onlytimestamp with time zone

Creation timestamp

engine_versiontext | null

Commit of the code that made the calculation

inputsjsonb

The settings, dates and choices the calculation used, per calendar event. Holds no guest data

linesjsonb

The line items the calculation resulted in

reasonBookingPriceSnapshotReason

What led to the calculation

totalint64

Total of the booking after the calculation, in cents

total_beforeint64 | null

Total of the booking before a recalculation, in cents

The booking price snapshot object
JSON
{
  "id": "00000000-0000-0000-0000-000000000000",
  "booking_id": "00000000-0000-0000-0000-000000000000",
  "organization_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2026-11-22T21:57:35.642Z",
  "engine_version": "",
  "inputs": {},
  "lines": {},
  "reason": "admin-create",
  "total": 0,
  "total_before": 0
}

List booking price snapshots

Requiresbookings:read

Filters

idFilter<uuid>

Unique identifier

booking_idFilter<uuid>

Identifier of the related booking

organization_idFilter<uuid>

Identifier of the related organization

created_atFilter<timestamp with time zone>

Creation timestamp

engine_versionFilter<text | null>

Commit of the code that made the calculation

inputsFilter<jsonb>

The settings, dates and choices the calculation used, per calendar event. Holds no guest data

linesFilter<jsonb>

The line items the calculation resulted in

reasonFilter<BookingPriceSnapshotReason>

What led to the calculation

totalFilter<int64>

Total of the booking after the calculation, in cents

total_beforeFilter<int64 | null>

Total of the booking before a recalculation, in cents

Responses

200

A list of booking price snapshots with the selected columns

206

Partial Content

400

The request is malformed, for example an unknown column or an invalid filter.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
GET/booking_price_snapshots
curl "https://api.bookingmood.com/v1/booking_price_snapshots?select=*&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example
JSON
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "booking_id": "00000000-0000-0000-0000-000000000000",
    "organization_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-11-22T21:57:35.642Z",
    "engine_version": "",
    "inputs": {},
    "lines": {},
    "reason": "admin-create",
    "total": 0,
    "total_before": 0
  }
]