b24_catalog_product_add
Add a new product to a Bitrix24 catalog by providing product fields such as name and iblockId. Returns the created product details.
Instructions
Create a catalog product (catalog.product.add). Returns {"product": {...}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Product fields, e.g. {'iblockId':14,'name':'Widget','field...':...}. | |
| 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 |