b24_crm_productrows_set
Replace all product rows for a Bitrix24 deal, lead, or quote by owner type and ID, specifying the new product line items.
Instructions
Replace the product rows of a deal/lead/quote (crm.item.productrow.set).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner_type": "<owner_type>",
"owner_id": "<owner_id>",
"rows": "<rows>"
},
"name": "b24_crm_productrows_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 |