Documentation

catalog.catalog.add

catalog.catalog.add(fields)

The method adds commercial catalog to a commercial catalog collection.

When operation is successful, returns commercial catalog resource in the response.

Parameters

ParameterType Description
fieldsobject Fields, corresponding to the available list of fields.

Examples

BX24.callMethod(
    'catalog.catalog.add', 
	{
        fields: {
			  iblockId: 1
        }
    },
    function(result) {
        if (result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
    });

User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix24», 2001-2021, «Bitrix24», 2021