Mark a repricing log entry as successfully delivered to the target system (Helios, etc.). Called by external systems after processing the RabbitMQ message.
HTTP: PATCH | POST /logs/changes/@id/delivered
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| id | integer | yes | The log entry ID (returned in the RabbitMQ payload as log_id). | 12345 |
| delivered_at | string | no | Optional timestamp when delivery occurred (default: current time). | 2025-01-15 14:30:00 |
curl -X PATCH -H "Authorization: ApiKey YOUR_API_KEY" https://testing.elpricing.com/api/logs/changes/@id/delivered
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.