List Cancellation Reasons
Authentication
Requires JWT authentication. Available to all authenticated roles:admin, manager, cashier.
Response
Success message
Array of cancellation reason objects
Cancellation reason ID
Short reason name
Optional detailed description of the cancellation reason
Whether this cancellation reason is currently active
Timestamp when the reason was created (ISO 8601 format)
Example Request
Example Response
Use Cases
Order Cancellation Flow
When cancelling an order, cashiers can select from predefined cancellation reasons to maintain consistent data for reporting and analysis.Reporting & Analytics
Cancellation reasons are tracked with each cancelled order and can be used to:- Identify common reasons for order cancellations
- Track cancellation trends over time
- Improve operational processes based on cancellation data
Cancellation reasons are predefined in the system and are seeded during initial database setup. Only active reasons are returned by this endpoint.
Related Endpoints
- Orders API - Cancel orders using cancellation reasons
- Reports API - View cancellation analytics