getRatePlans
Returns the rates of the room type or promo code selected, based on the provided parameters. If no parameters are provided, then the method will return all publicly available rate plans. Rate plans attached to an allotment block are never returned by this endpoint, even when their IDs are passed in rateIDs. Allotment-block rates are group inventory, not publicly sellable inventory. Their IDs do appear elsewhere (for example the rateID of a room on a group reservation), so an ID that cannot be resolved here is not a mapping error: use /getAllotmentBlocks, which returns the block's rate plan ID as ratePlanId and the rate IDs that reservations carry as allotmentIntervals[].rateId, together with allotmentBlockCode, allotmentBlockName, allotmentBlockStatus and the per-interval rates. Deleted rate plans are not returned by this endpoint and /getAllotmentBlocks omits deleted blocks, so an ID that resolves in neither endpoint belongs to a deleted rate plan or a deleted (archived) allotment block. ### Group account support
Request
- Base URLhttps://api.cloudbeds.com/api/v1.3
- URLhttps://api.cloudbeds.com/api/v1.3/getRatePlans
- Auth
- API key in header x-api-key
- or OAuth 2Authorization codeScopes: read:rate
Query parameters
List of property IDs, comma-separated, i.e. 37,345,89
List of Rate IDs, comma-separated, i.e. 37,345,89
List of Room Type IDs, comma-separated, i.e. 37,345,89
List of Promo Codes, comma-separated, i.e. 37,345,89
Include rate plans with promo code
Check-in date
Check-out date
Number of adults
Number of children
If the rates need detailed information
Include shared rooms in the result for multiple adults/children
Response
200 Response
Changes
No recorded changes to this operation across all 2 revisions of this API.