Include State, Country and City in Location Field for /rooms API

Description/Error
When we get the response for /rooms API, we get the location. But even if we have put the room in hierarchy like country or state, we do not get that information in this API.

Which Endpoint/s?
/rooms

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. GET /rooms
  2. See Location field
    Expected: Include Country, State and City fields too
    Actual: These fields are not sent.

Hey @ameya,

Currently for the GET /rooms endpoint, the response payload is what is listed on our docs.

Try using the GET /rooms/locations which includes the location.

Thanks,
Tommy

1 Like

Perfect, that works great for me!

1 Like

Happy to hear! :slight_smile:

Thanks,
Tommy