Price history
dk_price_historyFetch 30 days of daily Digikala buy-box prices in Toman per color or variant, including price range and two-day low, to judge whether a current price is good.
Instructions
Get ~30 days of daily buy-box prices (Toman) per color/variant, with lowest and highest.
For "is this a good price?": lowest_2_days is the lowest price held two days in a row (lowest
can be a one-day dip). Days are Jalali. An unknown id gives no variants; check it with dk_product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |