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": [
"8f83076b-ea6e-4eab-a899-51111f390632",
"08b5ff08-9f00-45fe-8b4c-2220f9440e6b",
"ffdd71e1-ee74-43e0-8f79-a181161e66bf"
],
"primary_account_uuids": [
"917e5500-5796-476f-a5cf-8f0cd4f28ee4",
"46daaf62-1723-4f26-94e7-bb4a978d4844",
"4de29de4-7a9d-4863-a997-4cfd2e0c16f5"
],
"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": [
"8f83076b-ea6e-4eab-a899-51111f390632",
"08b5ff08-9f00-45fe-8b4c-2220f9440e6b",
"ffdd71e1-ee74-43e0-8f79-a181161e66bf"
],
"primary_account_uuids": [
"917e5500-5796-476f-a5cf-8f0cd4f28ee4",
"46daaf62-1723-4f26-94e7-bb4a978d4844",
"4de29de4-7a9d-4863-a997-4cfd2e0c16f5"
],
"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": "f6f37f4b-36e5-491a-9088-416aae02207a",
"created_at": "2026-10-07T23:35:47+01:00",
"updated_at": "2026-10-07T23:35:47+01: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": "6729e346-765c-4448-8065-239707de93c2",
"created_at": "2026-10-07T23:35:47+01:00",
"updated_at": "2026-10-07T23:35:47+01: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": "e9fe641e-871e-4c6a-bd37-38df749bc90b",
"created_at": "2026-10-07T23:35:50+01:00",
"updated_at": "2026-10-07T23:35:50+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"primary_accounts": {
"uuid": "04dae053-3c32-480e-b2dc-eb50741aabbc",
"created_at": "2026-10-07T23:35:47+01:00",
"updated_at": "2026-10-07T23:35:47+01: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": "e9fe641e-871e-4c6a-bd37-38df749bc90b",
"created_at": "2026-10-07T23:35:50+01:00",
"updated_at": "2026-10-07T23:35:50+01: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."
]
}
}