getRooms
Changed onReturns a list of all rooms considering the informed parameters. If Check-in/out dates are sent, only unassigned rooms are returned. ### Group account support
Request
- Base URLhttps://api.cloudbeds.com/api/v1.3
- URLhttps://api.cloudbeds.com/api/v1.3/getRooms
- Auth
- API key in header x-api-key
- or OAuth 2Authorization codeScopes: read:room
Query parameters
Property ID list, comma-separated, i.e. 37,345,89
Room type ID, comma-separated, i.e. 37,345,89
Room Type (short-version)
Initial stay date. If sent, only returns unassigned rooms in this period. If not sent, will return all rooms available in property. Necessary if endDate is sent.
Final stay date. Necessary if startDate is sent.
Determines whether room relations info should be included in the response
Page number
Page size
Include archived units unless startDate/endDate are sent; live rows get archivedAt=null
Sorting rules, semicolon-separated. Format: field[:direction], where direction is asc or desc, defaults to asc if not provided. Valid fields: room_position, sorting_position. Examples: - sort=room_position;sorting_position - sort=room_position:asc;sorting_position:desc
Response
200 Response
Changes
- info
added the new optional
queryrequest parameterincludeArchived - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- info