Update Contact
PATCH
/public/v1/contacts/{contact_id}
const url = 'https://api.nuntius.chat/public/v1/contacts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"fullName":"example","email":"example","marketingOptOut":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.nuntius.chat/public/v1/contacts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "fullName": "example", "email": "example", "marketingOptOut": true }'Partial update of fullName/email/marketingOptOut – the curated field set
SPEC_API_PUBLICA.md §2.2 names for this endpoint.
Unknown/foreign/deleted -> 404.
Permiso necesario: tenant:contacts.manage
