Documentation

catalog.catalog.add

Scope: catalog Permissions: all

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());
    });
© «Bitrix24», 2001-2024