Documentation

sale.tradePlatform.getFields

Scope: catalog Permissions to execute: for all

sale.tradePlatform.getFields()

The method returns fields of trade platforms.

Returned fields:

Field Description
activeActive status flag.
catalogSectionTabClassNameService field.
className of handler's php class.
codeTrade platform code.
descriptionTrade platform description.
idTrade platform ID.
nameTrade platform name.
settingsTrade platform settings.
xmlIdTrade platform external ID.

Parameters

No parameters.

Examples

BX24.callMethod(
    'sale.tradePlatform.getFields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2024