Browse a category, brand or tag
kh_browseBrowse products by category, brand, or campaign tag, then sort by price or newest and filter by attributes and price range to find matching cosmetics, skincare, or perfume items.
Instructions
List the products of a category, brand(s) or campaign tag with sorting, price range and filters.
Use for "cheapest CeraVe moisturizer", "sunscreens for oily skin under 800,000 Toman", "newest Golden Rose lipsticks", "everything in today's pink box". Pass at least one of category_id (kh_categories), brands (kh_brands) or tag (kh_deals). Filter ids (brands, colors, skin / hair type, free-from, ingredient facets) and the price range come from kh_filters. There is no rating or discount sort: check candidates with kh_product / kh_reviews. Details: kh_product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Collection / campaign tag slug from kh_deals (the part after /tags/), e.g. 'festival-js' (pink box). | |
| page | No | Page number, from 1. | |
| sort | No | Order: popular (the site's default, most visited), cheapest / most_expensive (payable price), newest. | popular |
| limit | No | Products per page (sponsored items are left out). | |
| query | No | Optional keyword inside the listing. | |
| brands | No | Brand slugs from kh_brands / kh_filters (OR), e.g. ['simple', 'cerave']. | |
| colors | No | Color ids from kh_filters (OR), e.g. ['3'] (red). | |
| facets | No | Attribute filter keys from kh_filters, all must match (AND), e.g. ['facetKey.skin-type:oily']. | |
| max_price | No | Maximum payable price in Toman, e.g. 1500000. | |
| min_price | No | Minimum payable price in Toman, e.g. 500000. | |
| category_id | No | Category id from kh_categories or kh_search, e.g. 145 (moisturizers). | |
| in_stock_only | No | Only products that can be ordered now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||