Update an address Run in API Explorer
Body
-
The UUIDs of the accounts who should own the address. These must only be client accounts.
-
The UUIDs of the accounts who should have the address as their primary address.
-
Name of the address
-
First line of the address
-
Second line of the address
-
Third line of the address
-
Fourth line of the address
-
Town/City
-
County
-
Postcode
-
Country
-
Move in date
-
The month the client moved into this address.
-
The year the client moved into this address.
-
The month the client moved out of this address.
-
The year the client moved out of this address.
-
The client's residential status when living at the address.
Value Description homeowner Homeowner renting Renting living_with_parents Living With Parents other Other Values are
homeowner,renting,living_with_parents, orother. -
The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other.
curl \
--request PUT 'https://api.plannrcrm.com/api/v2/addresses/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{
"account_uuids": [
"a63cf2d8-85ad-4009-81c9-3485af5faab7",
"2c9320af-5781-4cbc-aa14-33e9baf44fc6",
"941060b0-1e9d-4dc2-ba7a-10632d6f77ae"
],
"primary_account_uuids": [
"91e54868-05c2-4879-8527-77d685f5a4fe",
"f4dae4cc-f17e-498e-bd8e-914e49686f6f",
"29cfee85-fc1d-4e29-9693-5a0663d389a4"
],
"name": "Work Address",
"address_1": "Suite E",
"address_2": "5 The Briars",
"address_3": "Waterberry Drive",
"address_4": "The Innovative Centre",
"town_city": "Waterlooville",
"county": "Hampshire",
"postcode": "PO7 7YH",
"country": "United Kingdom",
"move_in_date": "2024-06-20",
"moved_in_month": 6,
"moved_in_year": 2022,
"moved_out_month": 1,
"moved_out_year": 2024,
"residential_status": "homeowner",
"residential_status_other": "Non-tenant occupier"
}'
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"account_uuids": [
"a63cf2d8-85ad-4009-81c9-3485af5faab7",
"2c9320af-5781-4cbc-aa14-33e9baf44fc6",
"941060b0-1e9d-4dc2-ba7a-10632d6f77ae"
],
"primary_account_uuids": [
"91e54868-05c2-4879-8527-77d685f5a4fe",
"f4dae4cc-f17e-498e-bd8e-914e49686f6f",
"29cfee85-fc1d-4e29-9693-5a0663d389a4"
],
"name": "Work Address",
"address_1": "Suite E",
"address_2": "5 The Briars",
"address_3": "Waterberry Drive",
"address_4": "The Innovative Centre",
"town_city": "Waterlooville",
"county": "Hampshire",
"postcode": "PO7 7YH",
"country": "United Kingdom",
"move_in_date": "2024-06-20",
"moved_in_month": 6,
"moved_in_year": 2022,
"moved_out_month": 1,
"moved_out_year": 2024,
"residential_status": "homeowner",
"residential_status_other": "Non-tenant occupier"
}
{
"uuid": "6e25f569-d191-43c0-9dc9-51a940ae875e",
"created_at": "2026-10-27T15:44:14+00:00",
"updated_at": "2026-10-27T15:44:14+00:00",
"name": "Work Address",
"address_1": "Suite E, 5 The Briars",
"address_2": "Waterberry Drive",
"address_3": "The Innovative Centre",
"address_4": "Waterlooville",
"town_city": "Waterlooville",
"county": "Hampshire",
"postcode": "PO7 7YH",
"country": "United Kingdom",
"accounts": {
"uuid": "d1f9b4a6-df34-4ae4-a8dd-4c1ee5e5c43b",
"created_at": "2026-10-27T15:44:14+00:00",
"updated_at": "2026-10-27T15:44:14+00:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "97a5f63a-a7c9-4e65-98af-59bd893fe6d4",
"created_at": "2026-10-27T15:44:19+00:00",
"updated_at": "2026-10-27T15:44:19+00:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"primary_accounts": {
"uuid": "7f420c6c-7fc6-4001-9758-c8aca0774a23",
"created_at": "2026-10-27T15:44:14+00:00",
"updated_at": "2026-10-27T15:44:14+00:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"external_references": {
"uuid": "97a5f63a-a7c9-4e65-98af-59bd893fe6d4",
"created_at": "2026-10-27T15:44:19+00:00",
"updated_at": "2026-10-27T15:44:19+00:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"moved_in_month": 6,
"moved_in_year": 2022,
"moved_out_month": 1,
"moved_out_year": 2024,
"residential_status": "homeowner",
"residential_status_other": "homeowner",
"lived_in_months": 19
}
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}