Delivery outcomes and first-attempt success, per day
GET/reports/delivery-outcomes
Per UTC day of the outcome instant (deliveredAt, returnedAt, declaredAt): packages delivered, delivered at the first attempt (no DELIVERY_FAILED scan), returned to the sender and lost. firstAttemptSuccessRate = firstAttemptDelivered / (packagesDelivered + packagesReturnedToSender + packagesLost); lostRate and returnToSenderRate share that denominator; meanAttemptsPerDeliveredPackage = (packagesDelivered + DELIVERY_FAILED scans of the delivered packages) / packagesDelivered, null on a day without deliveries. Days without an outcome are omitted.
Request
Responses
- 200
- 400
- 500
The report for the range.
invalid-report-range. from or to is not a date (YYYY-MM-DD), from is after to, or the range exceeds 366 days.
internal-error. An unmapped failure; the detail never carries the cause. Never cached by the idempotency middleware, so the same key retries the work.