put https://loanpro.simnang.com/api/public/api/1/odata.svc/Customers()
This request edits a customer's address.
Click here to learn more about this request
Addresses are updated via the Customers
endpoint. Here are a few things to note when updating an address:
- The address's ID is needed to update an address. You can find this ID by sending a GET Address request.
- The
state
andcountry
parameters use a enumerated values that follow 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.
For an example of how customer addresses work within the UI, take a look at our Contact & Personal Information article.
Database
For information regarding 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
}
}
{
"MailingAddress": {
"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": 3318
}
}