put https://loanpro.simnang.com/api/public/api/1/odata.svc/Customers()?$expand=PrimaryAddress
This request allows you to edit a customer's address.
General
Addresses are updatable through the Customer endpoint. Here are a few things to note when updating an address:
- You'll need the address's ID to update an address. You can find this ID by sending a GET Address request.
- The
state
parameter uses a collection value that follows specific formatting. Make sure to capitalize the state/province code. All available values are listed here. - The
country
parameter also uses a collection value that follows specific formatting. Make sure to not capitalize the country code. Only US and Canada addresses are valid.
For an example of how customer addresses work within the UI, take a look at our Contact & Personal Information article.
Database
For information on Address database tables, see the following articles:
{
"PrimaryAddress": {
"address1": "201 E Randolph St",
"address2": null,
"city": "Chicago",
"state": "geo.state.IL",
"zipcode": "60602",
"country": "company.country.usa",
"geoLat": "41.882648",
"geoLon": "-87.623102",
"verify": true,
"__update": true,
"__id": 2281
}
}
Try It Instructions
Our requests often provide sample payload information so that you can receive a 200 response from simply hitting the Try It button. This request is ready for you—hit Try It to send the request.
However, if you would like to try this request with your own tenant account, make sure to change the headers to match your own authentication information.