/api/v1/people/{id}/contact (PUT)
PUT
/api/v1/people/{id}/contact
const url = 'https://example.com/api/v1/people/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/contact';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"phone":"example","email":"example","notes":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/people/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/contact \ --header 'Content-Type: application/json' \ --data '{ "phone": "example", "email": "example", "notes": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
phone
required
string | null
email
required
string | null
notes
required
string | null
Examplegenerated
{ "phone": "example", "email": "example", "notes": "example"}