LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
PrestaShop stock in Excel: filters and fields
← PrestaShop connection for LinkyFlow

PrestaShop stock in Excel: filters and fields

See PrestaShop stock in Excel: the quantity of each product and of each of its combinations.

The stock of every product and combination: one row per combination, and one for the product (combination 0).

The formula for Excel

=LF.prestashop.stockAvailables("","id,id_product,id_product_attribute,quantity")

Its first argument sets the inputs listed below, as name:value pairs separated by |; its second lists the fields to return, separated by commas. How LinkyFlow formulas are built

Guides and agents

Guides

Agents that read this resource

Read

Stock

The stock of every product and combination: one row per combination, and one for the product (combination 0).

Route: GET /stockAvailables

Excel formula: =LF.prestashop.stockAvailables("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoRead exactly this record, or several as 12|15. Answers the rows found, none when the id is unknown.
id_productstringNoExactly this value, or several as a|b.
id_product_attributestringNoExactly this value, or several as a|b.
per_pagenumberNoRows per page (max 100) Default: 100
pagenumberNoPage number, starting at 1

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
id_productdefaultnumber→ products-
id_product_attributedefaultnumber→ combinations-
quantitydefaultnumber—-
depends_on_stockboolean—-
out_of_stocknumber—-
id_shopnumber—-
Edit

Set Stock

Set Stock

Route: PATCH /mutation/stockAvailables

Inputs you can set

NameTypeRequiredDescription
ididYes-
quantitynumberYes-

Data returned in Excel

This action returns a confirmation rather than a selectable table.