Prepare Data (Product IDs)

Queues go.php preparedata for selected product IDs within a domain.

HTTP: POST | GET /prepare-data/domain-id

Query parameters

NameTypeRequiredDescriptionExample
domainstringyesDomain name as configured in DynPricing.profi-parfemy.cz
idstringyesSingle product ID or comma separated list of IDs.667301,74500
waitbooleannoSet 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.

Notes

Sample request

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}'

Interactive call

Queue workflow

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.