Report a delivery issue
POST/company/qr/issue
Report an incident or problem related to a delivery or the system.
Incidents can include:
- Delays or issues during transport
- Damage to goods
- Vehicle problems
- Any other relevant incident
This endpoint is PUBLIC — no authentication required.
Use Cases
- Driver reports a breakdown or accident
- Recipient reports damaged goods
- Any incident during delivery is recorded
Technical Notes
- Source code:
src/features/company/qr_delivery/controller.js→createIssue - Incidents are stored in the
Issuemodel - The field
relatedTo: deliveryrequiresdeliveryId
Request
Responses
- 200
- 400
- 500
Incidence created successfully.
Invalid input. Possible causes:
- Missing the
messageorrelatedTofield relatedToisdeliverybutdeliveryIdis missing
Internal server error when creating the incident