Raw Direct Sites

List direct site captures or insert a new observation.

HTTP: GET | POST /external-data/direct-sites

Query parameters

NameTypeRequiredDescriptionExample
limitintegernoMaximum rows per page (default 200).100
pageintegerno1-indexed page when limit is provided.1
offsetintegernoExplicit row offset.0
searchstringnoFilter by substring across domain, action, and URL.restock
domainstringnoFilter records for a specific domain.example-shop.cz
actionstringnoFilter by recorded action.restock
dataidintegernoFilter by numeric direct site identifier.3456
urlstringnoFilter by substring in the URL./stock/notification
sortstringnoSort column (datum, domain, action, dataid).datum
directionstringnoSort direction asc or desc.desc
datumstringnoTimestamp of the event (defaults to now when omitted).2025-09-26 12:00:00

Notes

Sample request

curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/external-data/direct-sites?limit=50&domain=example-shop.cz&action=restock"

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.