Documentation

catalog.storeproduct.getFields

Scope: catalog Permissions to execute: for all

catalog.storeproduct.getFields()

Method returns fields for remaining warehouse stock.

Parameters

No parameters.

Examples

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

Returned fields

Field DescriptionTypeNote
amount Quantity.doubleRead only.
id Entry primary key.integerRead only.
productId Product or SKU ID.integerRead only.
quantityReserved Reserved quantity.doubleRead only.
storeId Warehouse ID.integer Read only.


© «Bitrix24», 2001-2024