1👍
Update: I found out how do it.
const response = await woocommerceApi.get("products?attribute=pa_[attributeslug]&attribute_term=[attribute term id]", {
per_page: 100,
});
without the []
👤Lord
Source:stackexchange.com
1👍
Update: I found out how do it.
const response = await woocommerceApi.get("products?attribute=pa_[attributeslug]&attribute_term=[attribute term id]", {
per_page: 100,
});
without the []