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

WooCommerce products in Excel: filters and fields

List WooCommerce products in Excel with their SKU, status, prices, stock quantity and stock status.

Products in your WooCommerce store.

The formula for Excel

=LF.woocommerce.products("","id,name,sku,status,price,regular_price,stock_quantity,stock_status")

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

Products

Products in your WooCommerce store.

Route: GET /products

Excel formula: =LF.woocommerce.products("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
statusenumNoFilter by product status Values: any, publish, draft, pending, private
categorystringNoFilter by category slug or ID
searchstringNoFilter by keyword
skustringNoFilter by exact SKU
includestringNoOnly these record IDs, comma-separated. One value is an exact lookup.
stock_statusenumNoFilter by stock status Values: instock, outofstock, onbackorder
afterdateNoProducts created after this ISO 8601 date
beforedateNoProducts created before this ISO 8601 date
orderbyenumNoField WooCommerce orders by Values: date, id, include, title, slug
orderenumNoSort direction Values: asc, desc
per_pagenumberNoRows per page (max 100) Default: 100
pagenumberNoPage number, starting at 1

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
namedefaultstring—-
skudefaultstring—-
statusdefaultenum—-
pricedefaultnumber—-
regular_pricedefaultnumber—-
stock_quantitydefaultnumber—-
stock_statusdefaultenum—-
date_createddefaultdate—-
Create

Create Product

Create Product

Route: POST /mutation/products

Inputs you can set

NameTypeRequiredDescription
descriptionstringNo-
manage_stockbooleanNo-
namestringYes-
regular_pricenumberNo-
sale_pricenumberNo-
short_descriptionstringNo-
skustringNo-
statusenumNoValues: publish, draft, pending, private
stock_quantitynumberNo-
stock_statusenumNoValues: instock, outofstock, onbackorder
typeenumNoValues: simple, grouped, external, variable
weightstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Update Product

Update Product

Route: PATCH /mutation/products

Inputs you can set

NameTypeRequiredDescription
descriptionstringNo-
manage_stockbooleanNo-
namestringYes-
regular_pricenumberNo-
sale_pricenumberNo-
short_descriptionstringNo-
skustringNo-
statusenumNoValues: publish, draft, pending, private
stock_quantitynumberNo-
stock_statusenumNoValues: instock, outofstock, onbackorder
typeenumNoValues: simple, grouped, external, variable
weightstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Delete Product

Delete Product

Route: DELETE /mutation/products

Inputs you can set

NameTypeRequiredDescription
descriptionstringNo-
manage_stockbooleanNo-
namestringYes-
regular_pricenumberNo-
sale_pricenumberNo-
short_descriptionstringNo-
skustringNo-
statusenumNoValues: publish, draft, pending, private
stock_quantitynumberNo-
stock_statusenumNoValues: instock, outofstock, onbackorder
typeenumNoValues: simple, grouped, external, variable
weightstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.