Raw Marketplaces (Bulk Insert)

Bulk insert multiple marketplace capture records in a single API call. Accepts an array of marketplace records and inserts them all at once, significantly improving performance for large data imports. This endpoint processes each record with the same validation as the single POST endpoint but in batch mode. Ideal for crawler jobs, scheduled imports, or data migrations where hundreds or thousands of marketplace records need to be inserted efficiently.

HTTP: POST /external-data/marketplaces-bulk

Query parameters


Warning: Array to string conversion in /var/www/vhosts/admin.elpricing.com/httpdocs/api/index.php on line 3713
NameTypeRequiredDescriptionExample
recordsarrayyesArray of marketplace record objects. Each object must contain required fields: domain, src, dataid, price, currency. Optional: datum, lpid, url, exiturl, lp, title, shipping, mark, price_sale. Array

Notes

Sample request

curl -X POST https://admin.elpricing.com/api/external-data/marketplaces-bulk
  -H "Authorization: ApiKey YOUR_API_KEY"
  -H "Content-Type: application/json"
  -d '{"records":[{"domain":"shop1.cz","src":"heureka","dataid":100,"price":299,"currency":"CZK","url":"https://shop1.cz/product/100","price_sale":249},{"domain":"shop3.cz","src":"google","dataid":300,"price":199,"currency":"EUR","url":"https://shop3.cz/item/300"}]}'

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.