Documentation

catalog.productPropertyEnum.add

Scope: catalog Permissions to execute: for all

catalog.productPropertyEnum.add(fields)

Method adds list property value.

Parameters

ParameterType Description
fieldsobject Fields, matching to available list of fields.

Examples

BX24.callMethod(
    'catalog.productPropertyEnum.add', 
	{
        fields: {
			  propertyId: 128,
			  value: "Medium",
			  def: "Y",
			  sort: 123,
			  xmlId: "M"
        }
    },
    function(result) {
        if (result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
    });

© «Bitrix24», 2001-2024