Edit address

This request edits a customer's address.

   Click here to learn more about this request

Addresses are updated via the Customers endpoint. Note the following when using this request:

The address's ID is needed to update an address. You can find this ID by using the GET Address request.

The state and country 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 Customer Details article.

Database

For information regarding address database tables, see the following articles:

Database – Address Entity (address_entity)

Database – Customer Main Table (customer_entity)

{
     "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
     }
}
Language
Credentials
Click Try It! to start a request and see the response here!