Search products
tl_searchSearch Technolife products by name or keyword and get prices, discounts, stock, ratings, categories, and brand filters to narrow results.
Instructions
Search Technolife products with prices, discount, stock and rating.
Also returns the top matching categories and brands with their filter codes: pass one back as category_code (e.g. phones, not phone cases) or brand_codes to narrow the search. For the cheapest offers over several pages use tl_find_cheapest; for one product's sellers, colors and installment prices use tl_product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page number. Relevance pages can repeat items; page with a price, newest or best_selling sort. | |
| sort | No | Order; cheapest, most_expensive and biggest_discount_toman are re-sorted on the real price after discount. | relevance |
| limit | No | Products per page. | |
| query | Yes | Product name or words, Persian or English, e.g. 'آیفون 16' or 'لپ تاپ لنوو'. | |
| in_stock | No | Only products that can be ordered now. | |
| max_price | No | Highest price in Toman, e.g. 150000000. | |
| min_price | No | Lowest price in Toman, e.g. 50000000. | |
| brand_codes | No | Brand filter codes from the `brands` list of a result or tl_find_brand, e.g. [16] (Lenovo) or [16, 19] (Lenovo or ASUS). | |
| category_code | No | Category filter code from the `categories` list of a tl_search / tl_find_cheapest result, e.g. 1 (mobile phones), to skip accessories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||