Documentation

catalog.section.update

Scope: catalog Permissions to execute: for all

catalog.section.update(Id, fields)

The method updates fields of commercial catalog section.

When successful, returns commercial catalog section resource in the response body.

Parameters

ParameterType Description
Idstring Number of commercial catalog section.
fieldsobject Fields, corresponding to the available list of fields.


Examples

BX24.callMethod(
    'catalog.section.update', 
    {
	  id: 13,
	  fields: {	      
		yandexExport: Y
	  }
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});
© «Bitrix24», 2001-2024