Documentation

crm.company.contact.add

crm.company.contact.add(id, fields)

The method adds a contact to the specified company.

Parameters

Parameter Description
idContact ID.
fieldsObject with the following [link=8143023]fields[/link]:
  • CONTACT_ID - contact ID (required field)
  • SORT - sorting index
  • IS_PRIMARY - primary contact flag
Note: to find out the required field format, execute the method crm.company.fields to view the retrieved field format.


© «Bitrix24», 2001-2022
Up