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 ID to update an address. You can find this with a GET Address request.
- The
state
parameter uses a collection value. All available values are listed here. Make sure to capitalize the state/province code. - The
country
parameter also uses a collection value. Only US and Canada addresses can be used. Make sure to not capitalize the country code.
For additional information, take a look at our API - Addresses article on our help site.
And for an example of how addresses work within the UI, read 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.