Mutations
companyContactCreate
Save a contact on a company. The first contact on a company becomes its primary contact.
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 CompanyContactCreate($where: CompanyContactCreateInput!) {
companyContactCreate(where: $where) {
success
contact {
id
name
email
phone
isPrimary
lastUsedAt
createdAt
updatedAt
linkedPerson {
id
name
}
}
}
}input CompanyContactCreateInput {
company: CompanyId!
name: String!
email: String
phone: String
linkedPerson: BusinessPersonId
makePrimary: Boolean
}Arguments
where CompanyContactCreateInput! 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.