See how upcoming room prices were set and select a pricing source to inspect its share of priced room nights.
Room Pricing Sources · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotValueSourcesSnapshot | null (optional)
A property's priced room-night totals by pricing source, reporting period and freshness. Omit for the built-in example. Pass null when the feed is unavailable.
indexnumber (optional)
Adds a short, bounded delay to the chart entrance in widget grids.
Data and integration
Preview
A fictional hotel with 560 priced room nights, grouped by rate level, manual overrides and autopilot.
Inputs
Supply counts.rateLevel, counts.manual and counts.autopilot as nonnegative safe integers or null for unknown counts. Include counts.unattributed for priced room nights whose source is unknown. Omit that field when there are none. Optional property is the display name. Optional period.startDate and period.endDate are inclusive local dates in YYYY-MM-DD, in chronological order. Set stale when the feed falls behind.
Source options
Aggregate the effective prices for one property, calendar period and inventory scope in your pricing or revenue-management feed. Count every priced room night once according to the source that set its current price. Classify unknown origins as unattributed and remove superseded prices upstream.
Actions
Tap or click a pricing source, or select it with Tab and Enter or Space. The ring highlights that share and the centre shows the selected percentage. Select the same row again to return to the total.
Integration requirements
All categories share the same period and inventory scope. Calculate each share against the sum of all supplied categories, including any unattributed nights. When any count is missing or invalid, only known counts are available and the widget withholds the total and shares. Use 0 for a confirmed empty category. A zero total shows an empty ring. Chart arcs use full precision and labels round to one decimal place. Stale snapshots keep the last reported counts visible.