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": [
"7e3b1297-7ac3-45d8-9eff-feef70b5d919",
"28a646de-bd26-48c6-8036-8691dec38e6f",
"305893ec-df03-442e-a1a4-164cd588c448"
],
"primary_account_uuids": [
"d562a9e7-5432-4c07-89a8-a1be80b93828",
"d3cabbd0-5941-494c-bcd5-ec007dba7794",
"f4899d6c-e588-46c8-aa26-c15a8a286357"
],
"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": [
"7e3b1297-7ac3-45d8-9eff-feef70b5d919",
"28a646de-bd26-48c6-8036-8691dec38e6f",
"305893ec-df03-442e-a1a4-164cd588c448"
],
"primary_account_uuids": [
"d562a9e7-5432-4c07-89a8-a1be80b93828",
"d3cabbd0-5941-494c-bcd5-ec007dba7794",
"f4899d6c-e588-46c8-aa26-c15a8a286357"
],
"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": "83ff4fff-ffc0-4b8b-b89a-9a6462cd59bf",
"created_at": "2026-09-17T15:11:01+01:00",
"updated_at": "2026-09-17T15:11:01+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": "1359e26a-1e67-4a5b-a0e5-e90fc14abf2c",
"created_at": "2026-09-17T15:11:01+01:00",
"updated_at": "2026-09-17T15:11:01+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": "eed66603-e4be-4584-bc91-6f9a5c327f4b",
"created_at": "2026-09-17T15:11:06+01:00",
"updated_at": "2026-09-17T15:11:06+01:00",
"third_party": "nucleus",
"reference": "AB123456"
}
},
"primary_accounts": {
"uuid": "b6cabe2b-7bb8-4564-acc3-4292870d360b",
"created_at": "2026-09-17T15:11:01+01:00",
"updated_at": "2026-09-17T15:11:01+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": "eed66603-e4be-4584-bc91-6f9a5c327f4b",
"created_at": "2026-09-17T15:11:06+01:00",
"updated_at": "2026-09-17T15:11:06+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."
]
}
}