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