Browse a category or brand
ab_browseList cosmetics shop products by category or brand, apply price, stock and attribute filters, and sort results to find items like budget shampoo or brushes under a price.
Instructions
List products of a category or brand (or the whole shop) with sort, price range, stock and attribute filters.
Use for "cheapest shampoo for oily hair", "Graph brushes under 800,000 Toman". Pass a category slug (ab_categories), a brand slug (ab_brands), both, or neither; filters come from ab_filters. Details: ab_product; reviews: ab_reviews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1. | |
| sort | No | Order of the listing. 'default' puts in-stock items first (relevance for a search). | default |
| brand | No | Brand slug from ab_brands, e.g. 'graph' or 'la-roche-posay'. | |
| limit | No | Products per page. | |
| filters | No | Attribute filters from ab_filters: attribute -> values (any of them matches), e.g. {'bulk': ['250-میلی-لیتر'], 'hair': ['چرب']}. | |
| category | No | Category slug from ab_categories, e.g. 'hair-shampoo' or 'sunscreen'. | |
| max_price | No | Maximum current price in Toman, e.g. 2000000. | |
| min_price | No | Minimum current price in Toman, e.g. 1000000. | |
| on_sale_only | No | Only discounted items. | |
| in_stock_only | No | Only items that can be ordered now. |