Find cheapest product
sh_find_cheapestFind in-stock products for a keyword across all shops, sorted by price to pay. Drops loose matches and unpriced items.
Instructions
Find the cheapest in-stock products for a keyword across all shops, one flat list sorted by price to pay.
Use for the lowest price of X. Drops loose matches (match_all_words) and unpriced items. Price is the
cheapest variant: check size / color with sh_product. complete=false: more matches past scanned, raise scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Same-day courier city, e.g. 'تهران' (sh_filters). | |
| scan | No | Max results to scan, cheapest first. | |
| limit | No | Max offers to return. | |
| query | Yes | Keyword, Persian works best, e.g. 'مانتو کتان'. | |
| category_id | No | Category id from sh_categories, e.g. 385; includes sub-categories. | |
| match_all_words | No | Keep only products whose title or shop name has every query word. |