bx24_crm_companies
Create, get, list, update, and delete Bitrix24 CRM companies; bind contacts; manage user fields and card configuration.
Instructions
Bitrix24 CRM companies: CRUD, contact bindings, user fields. Methods crm.company., crm.company.contact., crm.company.userfield.* (REST 1.0 + 3.0). RU/EN: компания, создать компанию, найти компанию / company, create company, find company.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Entity ID | |
| order | No | Order object (e.g. { 'ID': 'DESC' }) | |
| start | No | Pagination offset (number of records to skip) | |
| action | Yes | Operation to perform: - "add": Create a company (TITLE required) - "get": Get a company by ID - "list": List/filter companies - "update": Update company fields - "delete": Delete a company (destructive) - "fields": Describe company fields - "contact_add": Bind a contact - "contact_delete": Unbind a contact (destructive) - "contact_list": List contacts bound to a company - "contact_items_set": Set the full set of contacts on a company - "contact_items_delete": Clear all contacts from a company (destructive) - "userfield_get": Get a custom company field - "userfield_add": Create a custom company field - "userfield_update": Update a custom company field - "userfield_delete": Delete a custom company field (destructive) - "details_get": Get company card configuration (layout) - "details_set": Set company card configuration - "details_reset": Reset company card configuration to default | |
| fields | No | Company fields: TITLE (required), PHONE[], EMAIL[], INDUSTRY, REVENUE, COMPANY_TYPE, ASSIGNED_BY_ID. | |
| filter | No | Filter object (e.g. { '>OPPORTUNITY': 10000, 'STAGE_ID': 'WON' }) | |
| select | No | Array of field names to return (projection) | |
| confirm | No | Set to true to confirm destructive actions when BX24_CONFIRM_DESTRUCTIVE is enabled. | |
| contactId | No | Contact ID | |
| userfield | No | User field definition | |
| contactIds | No | Contact IDs to set | |
| userfieldId | No | CRM userfield ID (e.g. UF_CRM_123) | |
| configFields | No | Company card configuration (details.configuration.*) fields |