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.
-
The friendly name for the address.
-
The first line of the address.
-
The second line of the address.
-
The third line of the address.
-
The fourth line of the address.
-
The town or city.
-
The county.
-
The postcode.
-
The country.
-
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.
-
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":["46971f70-1d37-4598-a377-fe5037f0a1cd","447f3fcc-3baa-441b-ad2b-bffd26d3df88"],"primary_account_uuids":["1bafaa61-bbdf-45ba-a818-8280512dc047","8f5ceaec-dbdc-403e-96f5-74392cf4e5d5"],"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","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": [
"46971f70-1d37-4598-a377-fe5037f0a1cd",
"447f3fcc-3baa-441b-ad2b-bffd26d3df88"
],
"primary_account_uuids": [
"1bafaa61-bbdf-45ba-a818-8280512dc047",
"8f5ceaec-dbdc-403e-96f5-74392cf4e5d5"
],
"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",
"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"
}
{
"name": "Work Address",
"uuid": "9c59f6f7-7e53-47e5-9657-1d6749a7570e",
"county": "Hampshire",
"country": "United Kingdom",
"accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "40154a59-a2d3-427d-8e4c-fce45c61c116",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-12-24T11:03:00+00:00",
"first_name": "Gareth",
"updated_at": "2025-12-24T11:03:00+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"postcode": "PO7 7YH",
"address_1": "Suite E, 5 The Briars",
"address_2": "Waterberry Drive",
"address_3": "The Innovative Centre",
"address_4": "Waterlooville",
"town_city": "Waterlooville",
"created_at": "2025-12-24T11:03:00+00:00",
"updated_at": "2025-12-24T11:03:00+00:00",
"moved_in_year": 2022,
"moved_in_month": 6,
"moved_out_year": 2024,
"lived_in_months": 19,
"moved_out_month": 1,
"primary_accounts": {
"name": "Gareth Thompson",
"role": "client",
"type": "client",
"uuid": "7cc41e79-e8dd-47ad-bc03-8ee811980a78",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-12-24T11:03:00+00:00",
"first_name": "Gareth",
"updated_at": "2025-12-24T11:03:00+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"residential_status": "homeowner",
"residential_status_other": "homeowner"
}