Skip to main content

Fetch a channel's rate/inventory calendar for a listing search

POST 

/api/v1/crs/channel-rates/:channelId

Takes the same body as POST /api/v1/crs/listings and applies the same filters (bev cookie injection + AI query-intent merge). Channel-adjusted nightly rates, inventory, checkout-only flags and booked units are returned for each matched property, with property cards grouped under the listing that owns them (keyed by listing id). The calendar window is checkInDate..checkOutDate, both required. Unlike the listings search this endpoint does not require the stay to be bookable: a listing blocked or sold out on some of the nights still appears, because those nights are what the calendar exists to show. Each listing group carries maxAdults/maxChildren: the listing's total capacity (per-unit max x unit count, summed over its active properties), independent of dates and availability. Listings are ordered by title and paged by page/size in rawParams, one page element per listing. To show only what the user picked from GET /{channelId}/search, send listingId and/or propertyId rawParams (multi-valued): a picked listing shows all its properties, a picked property shows under each listing that contains it with only the picked properties. With neither, every listing the channel can see is returned.

Request​

Responses​

OK