Update Contact
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
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»Request Bodyrequired
Sección titulada «Request Bodyrequired»PATCH /public/v1/contacts/{id} body – all fields optional (partial update).
Curated to EXACTLY the three fields SPEC_API_PUBLICA.md §2.2 names for this endpoint
(fullName/email/marketingOptOut) – narrower than the internal PATCH /customers/{id} on purpose (no signingEmail/country here, same curation reasoning
as PublicLeadUpdateRequest).
object
Examplegenerated
{ "fullName": "example", "email": "example", "marketingOptOut": true}Responses
Sección titulada «Responses»Successful Response
A single contact, curated subset of the internal CustomerOut.
Drops signingEmail (INT-PANDADOC-1 internal-integration concern, meaningless to a third
party reading/writing contacts generically).
object
Examplegenerated
{ "id": "example", "fullName": "example", "phone": "example", "email": "example", "country": "example", "phoneVerifiedAt": "example", "emailVerifiedAt": "example", "marketingOptOut": true, "marketingOptOutAt": "example", "origin": "example", "createdAt": "example"}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}