Lists all strategies and rules that evaluate a product for a domain, including inactive records.
HTTP: GET /reprice/rules_for_product
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| domain | string | yes | Domain to evaluate. | profi-parfemy.cz |
| id | string | yes | Product ID to evaluate. | 900258 |
| include_inactive | boolean | no | Set to false to hide inactive strategies and rules (defaults to true). | true |
| preparedata | boolean | no | Set to true to refresh cache before loading data (ensures fresh strategy/rule names). | true |
curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/reprice/rules_for_product?domain=profi-parfemy.cz&id=900258"
Tasks are persisted to var/api_queue/tasks.json. Process them with:
php go.php cron:list\nphp go.php cron:go
Logs are written to var/api_queue/logs/{task_id}.log.