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

PrestaShop Stock: inputs and fields

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

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.