b24_crm_deal_contacts_set
Assign contacts to a deal by replacing the current linked contacts with a new set of contact IDs.
Instructions
Set the contacts linked to a deal (crm.deal.contact.items.set).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | Deal id. | |
| contact_ids | Yes | Contact ids to link, e.g. [11, 12]. Replaces the current set. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |