/api/v1/contacts/{id}Actualizar Contacto
Actualiza un contacto existente.
Autenticación
Envía tu API key en el header x-api-key header.
Parámetros
idobligatoriopath · string
Cuerpo de la petición
obligatorioPublicApiUpdateContactDto
firstNamestring
First name of the contact
lastNamestring
Last name of the contact
salutationstring
Salutation of the contact
birthdaystring (date-time)
Birthday of the contact
emailstring
Email address of the contact
phonestring
Phone number of the contact
genderIdentitystring
Gender identity of the contact
pronounsstring
Pronouns of the contact
faxstring
Fax number of the contact
linkedinUrlstring
LinkedIn URL of the contact
addressstring
Address of the contact
postalCodestring
Postal code of the contact
citystring
City of the contact
statestring
State of the contact
countrystring
Country of the contact
currencystring
Currency preference of the contact
titlePositionstring
Title/Position of the contact
languagestring
Language preference of the contact
assistantstring
Assistant name of the contact
assistantPhonestring
Assistant phone number
divisionstring
Division of the contact
departmentstring
Department of the contact
descriptionstring
Description of the contact
leadSourcestring
Lead source of the contact
leadRecordTypestring
Lead record type
reportsTostring
Reports to contact ID
Ejemplo de petición
{
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "john.doe@example.com",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
Respuestas
PublicApiUpdateContactResponseDto
statusCoderequirednumber
countrequirednumber
errorrequiredstring
datarequiredPublicApiContactDto
Ejemplo de respuesta
{
"statusCode": 200,
"count": 0,
"error": null,
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "john.doe@example.com",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z",
"personId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
}