Woocommerce Get Products - Specific Fields

Hello.

When using woocomemrce node to get a product or many products, all the product’s fields are returned.

There are cases that you want only specific fields from the products, like get only the name and sku etc.

Via HTTP node API call you can define it like this

https://www.domain.com/wp-json/wc/v3/products?per_page=100&_fields=id,name,regular_price,stock_quantity

The _fields parameter definies what fields should be returned and not all the product’s data.

It would be good for the woocommerce node to have this option so you can define what fields are returned and not fetching everything that leads to slower fetch times especially if you have many products.

Hey @Mulen,

I have changed this to a feature request for the future.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.