Added endpoints to read and change a listingβs neighborhood data source π
GET /rm/v1/neighborhood_data/fetch_sources
GET /rm/v1/neighborhood_data/get_md_compsets
POST /rm/v1/neighborhood_data/update_source
The compset a listingβs neighborhood data is based on is now readable and settable for a managed account β the same selector as the one on the Neighborhood Data tab. Changing it changes what GET /rm/v1/neighborhood_data returns for that listing.
fetch_sourceslists the three sources a listing can use β Nearby Listings (NL), Market Dashboards (MD) and Competitor Listings (CCC) β with the sub-options each needs and the source currently in effect. Sources that cannot be used carry areason.get_md_compsetsreturns the compsets on one Market Dashboard report. Each has avalueand alabel: thevalueis the identifier to send back, thelabelis display text.update_sourceapplies the change. Nearby Listings takesbr_selection, Market Dashboards takesmd_idandmd_compset, and Competitor Listings takes neither but requires the feature on the managed account.
update_source is a write, so it needs write permission on the listing in the targeted account.
All endpoints use the same request/response format as the Customer API. Include your X-API-Key and PL-User-Id headers as usual.
See the RM Partner API Overview for the full endpoint list.