Create price alert
create_price_alertCreate a price alert for a product. Use notify_on_drop / notify_on_rise for any price change without a numeric threshold, and/or min_threshold_price / max_threshold_price for target prices. At least one of those four settings is required. Requires a Pricewatcha API key (pwk_live_...) from https://pricewatcha.com/en/developers#api-keys. On failure, returns a structured error object with fields error.code, error.message, error.http_status, error.retry_recommended, and error.retry_after_seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional alert name | |
| api_key | Yes | Pricewatcha API key (pwk_live_...) | |
| product_id | Yes | Public product ID (prod_... or demo_...) | |
| webhook_url | No | Optional HTTPS webhook URL | |
| notify_email | No | Send email notifications (default true) | |
| notify_on_drop | No | Notify on any price drop. No threshold required. | |
| notify_on_rise | No | Notify on any price increase. No threshold required. | |
| max_threshold_price | No | Notify when the price rises to or above this value. | |
| min_threshold_price | No | Notify when the price drops to or below this value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| alert_id | Yes | ||
| currency | Yes | ||
| is_active | Yes | ||
| created_at | Yes | ||
| product_id | Yes | ||
| updated_at | Yes | ||
| webhook_url | No | ||
| notify_email | Yes | ||
| notify_on_drop | Yes | ||
| notify_on_rise | Yes | ||
| last_triggered_at | No | ||
| max_threshold_price | No | ||
| min_threshold_price | No |