Per-unit price and availability calendar
GET/api/v1/crs/listings/:listingId/calendar
For every unit of the listing, each night's price on the channel and how many units are left — published inventory less what other carts are holding. Feeds the day strip under each unit row on the PDP, selected and other units alike. The window is from (default today, IST) up to but not including to (default 7 nights on), at most 31 nights; page it by moving the window. Returns 400 for a missing or unknown channel, to not after from, or a window over 31 nights; 404 for an unknown or inactive listing, or one not visible on the channel.
Request
Responses
- 200
OK