contactAddToCompanies
Adds an existing contact to one or more companies, establishing business relationships.
Authentication Required: Customer authentication or user management roles Authorization: Contact editor or owner roles Error Codes: CONTACT_NOT_FOUND_ERROR, COMPANY_NOT_FOUND_ERROR, VALIDATION_ERROR, UNAUTHORIZED_ERROR
AUTH: Role=[user.OWNER,user.EDITOR] OR (('user is authenticated') AND ('contactId if present in input matches JWT'))
contactAddToCompanies(
id: Int!
input: ContactAddToCompaniesInput!
): ContactAddToCompaniesResponse!
Arguments
contactAddToCompanies.id ● Int! non-null scalar
Contact unique identifier
contactAddToCompanies.input ● ContactAddToCompaniesInput! non-null input
Company IDs to associate with the contact