Documentation

catalog.priceTypeLang.add

Scope: catalog Permissions to execute: for all

catalog.priceTypeLang.add(fields)

Method adds translation for price type name.

Parameters

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

Examples

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

© «Bitrix24», 2001-2024
Up