Update a Contact Address

PUT {{baseUrl}}/api/ContactAddress/:contactAddressId

Similar to other update methods in the API, excluding a property will remove it's value from the object. If you're only updating a single property, the entire model is still required.

Request Body

{"label"=>"<string>", "address1"=>"<string>", "address2"=>"<string>", "city"=>"<string>", "state"=>"<string>", "postal"=>"<string>", "country"=>"<string>", "setAsPrimary"=>"<boolean>", "startMonth"=>"<integer>", "startDay"=>"<integer>", "endMonth"=>"<integer>", "endDay"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;label&quot;:&quot;\u003cstring\u003e&quot;,&quot;address1&quot;:&quot;\u003cstring\u003e&quot;,&quot;address2&quot;:&quot;\u003cstring\u003e&quot;,&quot;city&quot;:&quot;\u003cstring\u003e&quot;,&quot;state&quot;:&quot;\u003cstring\u003e&quot;,&quot;postal&quot;:&quot;\u003cstring\u003e&quot;,&quot;country&quot;:&quot;\u003cstring\u003e&quot;,&quot;isPrimary&quot;:&quot;\u003cboolean\u003e&quot;,&quot;canBePrimary&quot;:&quot;\u003cboolean\u003e&quot;,&quot;startMonth&quot;:&quot;\u003cinteger\u003e&quot;,&quot;startDay&quot;:&quot;\u003cinteger\u003e&quot;,&quot;endMonth&quot;:&quot;\u003cinteger\u003e&quot;,&quot;endDay&quot;:&quot;\u003cinteger\u003e&quot;,&quot;createDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;createdByUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;modifiedDateTimeUtc&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;modifiedByUser&quot;:&quot;\u003cstring\u003e&quot;}