Deals
tl_dealsRetrieve current in-stock discounts and timed home-page deals, with options to sort by discount, price, sales, or recency.
Instructions
List current in-stock discounts (Technolife's main deal list, تکنوآف) and, on page 0, the timed home-page deals (تکنو تایم).
Use for "best deals right now". deal_ends is when the discount stops (UTC). total is the
size of the whole deal list, before min_discount_pct. With biggest_percent or
min_discount_pct each page scans the next 100 deals and returns the best limit of them;
more_on_page counts the matches cut off (raise limit to see them). For discounts inside
one category use tl_category_products with sort=biggest_discount_toman.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page number. | |
| sort | No | Order; biggest_percent re-sorts a page of the largest Toman discounts by percent. | biggest_percent |
| limit | No | Max deals to return (and max timed deals). | |
| min_discount_pct | No | Only deals with at least this percent off. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||