Documentation

crm.contact.company.items.set

crm.contact.company.items.set(id, items)

Specifies the set of companies, associated with the specified contact.

Parameters

Parameter Description
idContact ID.
itemsSet of companies as an objects array with the following fields:
  • COMPANY_ID - Company ID (required field)
  • SORT - Sorting index
  • IS_PRIMARY - Primary company flag


© «Bitrix24», 2001-2022
Up