Documentation

crm.contact.company.add

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

Adds company to the specified contact.

Parameters

Parameter Description
idContact ID.
fieldsObject with the following fields:
  • COMPANY_ID - company ID (required field)
  • SORT - sorting index
  • IS_PRIMARY - primary company flag


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019