Returns the latest repricing change stored in the changes table for the given product.
HTTP: GET /logs/product/{productId}
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| productId | integer | yes | Internal DynPricing product identifier. | 900258 |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| domain | string | yes | Domain where the repricing change occurred. | profi-parfemy.cz |
| format | string | no | Set to xml to receive XML output (default json). | json |
curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/logs/product/{productId}?domain=profi-parfemy.cz&format=json"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.