Prepare Data (Domain)

Queues go.php preparedata for an entire domain.

HTTP: POST | GET /prepare-data/domain

Query parameters

NameTypeRequiredDescriptionExample
domainstringyesDomain name as configured in DynPricing.profi-parfemy.cz

Notes

Sample request

curl -X POST https://admin.elpricing.com/api/prepare-data/domain
  -H "Authorization: ApiKey YOUR_API_KEY"
  -H "Content-Type: application/json"
  -d '{"domain":"profi-parfemy.cz"}'

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.