Short stay

The nightly rate the pricing rules produce, night by night

Runs the pricing stack over every short-stay unit and every night in the window. Each night carries the rules that moved it and by how much, so a rate can be argued with rather than only read. A night a booking already holds is quoted too, because a re-let has to be priced. Nothing is pushed anywhere.

get/api/v1/short-stay/rates

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/short-stay/rates
  • Auth: API key in cookie better-auth.session_token

Query parameters

fromstring

Default: today, where the portfolio stands.

tostring

Exclusive. Default: 90 nights out. At most 365 nights may be quoted at once.

unitIdstring

One unit rather than every short-stay unit.

Response

Every unit, every night, and what decided the price.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.