v1
latestOpenAPI 3.0.32026-07-2632131.4 MBAddress
Update Property Address
Edit the address of a given property. If it is a multi-unit, all sub-units will be updated too.
put/address/{id}/update
Path parameters
idstring required
Example:5b2149c9f579400024388c47
The Guesty ID of the property for which you would like to edit the address. If it is a multi-unit parent, all sub-units will be updated too.
Request body
Example request
{
"address": {
"full": "30-19 32nd St, Long Island City, NY 11102, USA",
"apartment": "4d",
"city": "New York City",
"country": "United States",
"county": "Nassau County",
"floor": "1D",
"unitNumber": "30a",
"location": {
"lat": 40.7659021,
"lng": -73.9208235
},
"neighborhood": "Astoria",
"searchable": "30-19 32nd St, Long Island City, NY 11102, USA",
"state": "New York",
"street": "32nd Street",
"zipcode": "11102",
"buildingName": "Metropolis campus"
},
"publishedAddress": {
"full": "30-19 32nd St, Long Island City, NY 11102, USA",
"apartment": "4d",
"city": "New York City",
"country": "United States",
"county": "Nassau County",
"floor": "1D",
"unitNumber": "30a",
"location": {
"lat": 40.7659021,
"lng": -73.9208235
},
"neighborhood": "Astoria",
"searchable": "30-19 32nd St, Long Island City, NY 11102, USA",
"state": "New York",
"street": "32nd Street",
"zipcode": "11102",
"buildingName": "Metropolis campus"
},
"isPublishedAddressEnabled": true
}Response
Return updated addresses.
Example response
{
"address": {
"full": "30-19 32nd St, Long Island City, NY 11102, USA",
"street": "32nd Street",
"city": "New York",
"country": "United States",
"state": "New York",
"location": {
"lat": 40.7659021,
"lng": -73.9208235
},
"zipcode": 11102
},
"publishedAddress": {
"full": "30-19 32nd St, Long Island City, NY 11102, USA",
"street": "32nd Street",
"city": "New York",
"country": "United States",
"state": "New York",
"location": {
"lat": 40.7659021,
"lng": -73.9208235
},
"zipcode": 11102
}
}