Update an existing address for a person
cURL
curl --request PATCH \ --url https://api.slant.app/v1/people/{person_id}/addresses/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "line1": "456 Oak Ave", "line2": "Apt 2B", "city": "Boulder", "state": "CO", "zip": "80301", "country_code": "US", "address_type": "work", "is_primary": true } '
{ "id": "<string>", "person_id": "<string>", "line1": "<string>", "line2": "<string>", "city": "<string>", "state": "<string>", "zip": "<string>", "country_code": "<string>", "address_type": "<string>", "is_primary": true }
OAuth 2.0 Bearer Token from Clerk authentication
The person ID
The address ID
"456 Oak Ave"
"Apt 2B"
"Boulder"
"CO"
"80301"
"US"
home
work
mailing
other
"work"
true
address updated