Documentation

catalog.priceTypeLang.update

catalog.priceTypeLang.update(id, fields)

Method updates translation for price type name.

Parameters

ParameterType Description
idinteger Translation ID for price type name.
fieldsobject Fields, matching to available list of fields.


Examples

BX24.callMethod(
    'catalog.priceTypeLang.update', 
    {
	  id: 537,
	  fields: {	      
		catalogGroupId: 14,
		lang: "en",
		name: "Wholesale price for partners"
	  }
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});

© «Bitrix24», 2001-2023
Up