Documentation

catalog.price.getFields

Scope: catalog Permissions: all

catalog.price.getFields()

The method returns product price fields.

Parameters

No parameters.

Examples

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

Returned fields

Fields DescriptionTypeNote
catalogGroupId Price typeintegerRead only, required field.
currency CurrencystringRequired field.
extraId Price IDinteger
id Price IDintegerRead only.
price PricedoubleRequired field.
priceScale Base pricedouble Read only.
productId Product IDinteger Read only, required field.
quantityFrom Quantity frominteger
quantityTo Quantity tointeger
timestampX TimestampdatetimeRead only.


© «Bitrix24», 2001-2024