Documentation

catalog.priceTypeLang.update

Scope: catalog Permissions to execute: for all

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-2024
Up