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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":"\u003cinteger\u003e","label":"\u003cstring\u003e","address1":"\u003cstring\u003e","address2":"\u003cstring\u003e","city":"\u003cstring\u003e","state":"\u003cstring\u003e","postal":"\u003cstring\u003e","country":"\u003cstring\u003e","isPrimary":"\u003cboolean\u003e","canBePrimary":"\u003cboolean\u003e","startMonth":"\u003cinteger\u003e","startDay":"\u003cinteger\u003e","endMonth":"\u003cinteger\u003e","endDay":"\u003cinteger\u003e","createDateTimeUtc":"\u003cdateTime\u003e","createdByUser":"\u003cstring\u003e","modifiedDateTimeUtc":"\u003cdateTime\u003e","modifiedByUser":"\u003cstring\u003e"}