2026-11-18 — Bookings per affiliate
The partner dashboard reports the bookings, nights and revenue that each affiliate brought to the partner’s booking engine (#8822 ). Nothing existing changes.
Added — affiliateBookings
affiliateBookings(partnerId, propertyId, dateFrom, dateTo)returns one row per affiliate, and one row with a nullaffiliateIdfor the bookings no affiliate brought.- Each row has
bookings,nights,revenueUsd, and the split of its bookings intolinkBookingsandpromoCodeBookings. - A booking counts only in a counted status, so a booking cancelled after the affiliate was recorded is in no column.
- The window is the check-in day,
YYYY-MM-DD, both ends inclusive. Revenue is in USD, rounded to the cent per booking.
Access
- AKIN staff for any partner, a partner admin or viewer for its own partner only, and a property admin for the bookings of its own properties only.
- A read with no partner is refused. A partner API key is refused.
Last updated on