Queues go.php reprice for selected product IDs.
HTTP: POST | GET /reprice/domain-id
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| domain | string | yes | Domain to reprice. | profi-parfemy.cz |
| id | string | yes | Single product ID or comma separated list of IDs. | 667301 |
| strategy_id | string | no | Optional strategy row ID to limit the repricing run to a single strategy. | recYb7E8QiPbovU9d |
| wait | boolean | no | Set to true to run immediately and include CLI output in the response. | false |
Wait mode: Set "wait": true to execute immediately and include CLI output in the response.
curl -X POST https://admin.elpricing.com/api/reprice/domain-id
-H "Authorization: ApiKey YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"domain":"profi-parfemy.cz","id":"667301","strategy_id":"recYb7E8QiPbovU9d","wait":false}'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.