Product Change (Latest)

Returns the latest repricing change stored in the changes table for the given product.

HTTP: GET /logs/product/{productId}

Path parameters

NameTypeRequiredDescriptionExample
productIdintegeryesInternal DynPricing product identifier.900258

Query parameters

NameTypeRequiredDescriptionExample
domainstringyesDomain where the repricing change occurred.profi-parfemy.cz
formatstringnoSet to xml to receive XML output (default json).json

Notes

Sample request

curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/logs/product/{productId}?domain=profi-parfemy.cz&format=json"

Interactive call

Path parameters

Note: This endpoint uses path parameters. Use the "Open API Endpoint" button above to test it properly.

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.