b24_crm_productrows_set
Replace product rows on CRM deals, leads, or quotes. Provide owner type, ID, and new rows array to update line items.
Instructions
Replace the product rows of a deal/lead/quote (crm.item.productrow.set).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Product rows, e.g. [{'productName':'X','price':100,'quantity':2},{'productId':55,'price':10,'quantity':1}]. | |
| owner_id | Yes | Owner record id. | |
| owner_type | Yes | Owner short type: 'D' (deal), 'L' (lead), 'Q' (quote). | |
| 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 |