Documentation

catalog.productProperty.getFields

Scope: catalog Permissions to execute: for all

catalog.productProperty.getFields()

Method gets fields for product or SKU properties.

Parameters

No parameters.

Examples

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

Returned fields

Field DescriptionTypeNote
active Indicates active/inactive property. char
code Symbolic code. string
rowCount, colCount Field dimensions for value input (for Strings х Columns). integer
defaultValue Default value. text
filtrable Shows field for filtering by this property at the page with element list. char
hint Hint. string
iblockId Iblock ID. integer Required.
id Property ID. integer Read only.
isRequired Indicates a required field. char
linkIblockId Iblock ID with linked value. Presently, this field is not used (this field is intended for field types not yet supported by REST). integer
listType External appearance. char For the List field only.
multiple Indicates a multiple property. char
multipleCnt Number of fields for input of new multiple values. integer
name Name. string Required field.
propertyType Property type. string Required field..
searchable Includes property values into search. char
sort Sort order. integer
timestampX Date of the last parameter update. datetime Read only.
userType User property type. string
withDescription Includes field for value description. char
xmlId External ID. string

© «Bitrix24», 2001-2024