Watch the total price of a product without an account (e-mail, double opt-in)
watch_product_priceNo account (UX-72): the person gives an e-mail and Fordeal mails them when the recommended total for deliver_to_country (goods + shipping, the product page's meaning) falls under target_total (default: today's total, i.e. any real drop by the currency's step), never twice for one price and at most once a day. Double opt-in: the address first gets only a confirmation link; nothing else is sent before the person clicks it (an agent cannot confirm for the person). Every alert has pause and cancel links that work without signing in (GET/POST /api/v1/price-watches/link). Unconfirmed watches are deleted after 7 days, confirmed ones 365 days after the confirmation. One watch per address and product, at most 20 per address; the answer is the same whether the address is known or not. Ask the person for consent before passing their e-mail. A signed-in person can use set_price_watch instead (no confirmation needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The person's e-mail (they confirm it themselves). | ||
| locale | No | Language of the mails. Default: the country's. | |
| ip_hash | No | sha-256 of the visitor's address with a daily salt (the website computes it). | |
| website | No | Leave empty (spam trap). | |
| product_slug | Yes | The product's slug (search_products, find_best_price). | |
| target_total | No | Mail when the total falls to or under this amount, in the currency of deliver_to_country. Default: today's total. | |
| deliver_to_country | No | ISO 3166-1 alpha-2 country code, e.g. "CZ". Optional: normally derived from the address. |