Documentation

catalog.priceTypeGroup.add

Scope: catalog Permissions: all

catalog.priceTypeGroup.add(fields)

Method adds price type to customer group.

Parameters

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

Examples

BX24.callMethod(
    'catalog.priceTypeGroup.add', 
	{
        fields: {
			  catalogGroupId: 14,
			  groupId: 16,
			  access: "Y"
        }
    },
    function(result) {
        if (result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
    });

© «Bitrix24», 2001-2024