Documentation

catalog.roundingRule.add

catalog.roundingRule.add(fields)

Method adds a price rounding rule.

Parameters

ParameterType Description
fieldsobject Fields, matching available list of [link=10907304]fields[/link].

Examples

BX24.callMethod(
    'catalog.roundingRule.add', 
	{
        fields: {
			  catalogGroupId: 14,
			  price: 1000,
			  roundType: 4,
			  roundPrecision: 100
        }
    },
    function(result) {
        if (result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
    });

© «Bitrix24», 2001-2023
Up