Mutations
contactUpdate
Replace a contact's details. Every field is written, so an optional field left out is cleared.
Required permission: entity_contacts:write
Response fields with their own permission:
business_roles:readBusinessPerson:relationships,rolesCompany:relationships,rolesCustomBusinessPerson:relationships,rolesDeletedEntity:relationships
credit_reports:readCompany:creditScore
documents:readCompany:documents
entities:readEntityContact:linkedPerson
entity_contacts:readCompany:contacts
owners:readBusinessPerson:beneficialOwnerships,holdings,relationshipsCompany:beneficialOwners,holdings,relationships,shareholderGraph,shareholdersCustomBusinessPerson:beneficialOwnerships,holdings,relationshipsDeletedEntity:relationships
screening_results:readBusinessPerson:ams,amsCount,flags,pep,pepInfo,riskFactors,riskSignals,sanctioned,sanctionInfoCompany:ams,amsCount,flags,riskFactors,riskSignals,sanctioned,sanctionInfoCustomBusinessPerson:ams,amsCount,flags,pep,pepInfo,riskFactors,riskSignals,sanctioned,sanctionInfoDeletedEntity:ams,amsCount,flags,riskFactors,riskSignals,sanctioned,sanctionInfo
mutation ContactUpdate($where: ContactUpdateInput!) {
contactUpdate(where: $where) {
success
contact {
id
name
email
phone
isPrimary
lastUsedAt
createdAt
updatedAt
linkedPerson {
id
name
}
}
}
}input ContactUpdateInput {
id: ID!
name: String!
email: String
phone: String
linkedPerson: BusinessPersonId
}Arguments
where ContactUpdateInput! non-null input
Type
EntityContactPayload object
EntityContactPayload
The payload for an entity contact mutation.
Response Fields
success Boolean! non-null scalar
contact EntityContact object
EntityContact
The contact as it is after the mutation.