The product categories API allows you to view individual or a batch of products.
Returns products back from WooCommerce, include parameters to query data.
int page,
int perPage,
String search,
List<int> exclude,
List<int> include,
String order,
String orderBy,
bool hideEmpty,
int parent,
int product,
String slug
// Initialize WooSignal
await WooSignal.instance.init(appKey: "your app key");
// Call API
List<ProductCategory> productCategories = await WooSignal.instance.getProductCategories();
List<ProductCategory> instance
Represents the following object - WooCommerce list all product categories