Documentation

catalog.catalog.getFields

catalog.catalog.getFields()

The method returns commercial catalog fields.

Parameters

No parameters.

Examples

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

Returned fields поля

Field DescriptionTypeNote
iblockId Information block identifierintegerUnmodifiable, required field.
iblockTypeId Information block typeintegerRead only.
id Catalog identifierintegerRead only.
lid SitestringRead only.
name NamestringRead only.
productIblockId Product's parent iblock IDintegerCompleted only for SKU's iblock.
skuPropertyId Property ID that stores link to parent element of products iblockintegerCompleted only for SKU's iblock.
subscription Content saleschar
vatId VAT IDinteger
yandexExport Export to Yandex.Marketchar


© «Bitrix24», 2001-2024