Orders Items - Raw Data

📦 Returns raw order items (line items) from the orders table with pagination and filtering. Each row represents a single product in an order.

HTTP: GET /orders

Query parameters

NameTypeRequiredDescriptionExample
domainstringnoFilter by domain (e.g., profi-parfemy.cz, parfumsetmoi.fr).profi-parfemy.cz
oidstringnoFilter by order ID (e.g., PM4544521).PM4544521
productintegernoFilter by product ID.882725
date_fromstringnoStart date for filtering (YYYY-MM-DD format).2025-01-01
date_tostringnoEnd date for filtering (YYYY-MM-DD format).2025-12-31
curstringnoFilter by currency (e.g., EUR, CZK, PLN).EUR
partnerstringnoFilter by partner code.znz
limitintegernoMaximum number of records (default 100, max 1000).100
pageintegernoPage number for pagination (1-indexed).1
sortstringnoSort column: datum, price, ks, product, domain.datum
directionstringnoSort direction: asc or desc (default: desc).desc

Notes

Sample request

curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/orders?domain=profi-parfemy.cz&limit=50"

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.