list_brands
Retrieve product brands from WooCommerce, filter by parent or hide brands with no products, and ask for specific fields to optimize responses.
Instructions
List product brands (WooCommerce 9.6+ core feature). Supports filtering by parent and hide_empty. Use fields param to request only needed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| order | No | Sort direction | |
| fields | No | Comma-separated fields to return (default: id,name,slug,parent,count,image) | |
| parent | No | Parent brand ID to filter by | |
| search | No | Search term | |
| orderby | No | Sort field | |
| per_page | No | Items per page (max 100) | |
| hide_empty | No | Hide brands with no products |