Brand and spec filters of a category
em_filtersFetch brand and specification filter IDs for a category before searching, so you can filter products by brand or attributes like RAM and storage.
Instructions
List the brands and spec filters (RAM, storage, ...) Emalls offers in one category, with their ids.
Use it before em_search when the user wants a brand or a spec ("8GB RAM Samsung phones"): pass the brand id as brand_id and the option ids as attributes. Brands are the category's top brands only; spec groups depend on the category (some have none). Option ids are unique per option; pick at most one per group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | Yes | Category id from em_categories, e.g. 39 for mobile phones. |