Product categories
bm_categoriesFind category IDs by name, or list top sections and children via parent_id; returns id, name, level, and parent_id to use with browse or search.
Instructions
Find category ids by name, or walk the tree: no arguments lists the top sections, parent_id lists children.
Returns id, name, level (deeper = narrower) and parent_id. Pass an id to bm_browse or bm_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum categories returned. | |
| query | No | Optional name part, e.g. 'مانتو' or 'کیف'. | |
| parent_id | No | List the children of this category id (e.g. 4 = لباس زنانه). |