Event for Adding a New Product Section onCrmProductSectionAdd

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

Scope: crm

Who can subscribe: any user

The event onCrmProductSectionAdd is triggered after a section is added.

Handling the Response

HTTP status: 200

Returns an array:

array('FIELDS' => array('ID' => $id))
        

Error Handling

HTTP status: 400

In case of an error or if the section is created not in the CRM information block, it throws the exception \Bitrix\Rest\RestException.