Documentation

crm.company.contact.add

Scope: catalog Permissions to execute: for all

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

The method adds a contact to the specified company.

Parameters

Parameter Description
idContact ID.
fieldsObject with the following fields:
  • 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-2024
Up