Overview
Returns the list of active customer cancellation reasons supported by CleanLife. You must call this endpoint before cancelling a booking and pass the chosenreasonId in PATCH /partners/bookings/:bookingId/cancel.
Endpoint
Authentication
Requires a valid API Key with thepartner_bookings_cancel permission.
Example Request
Success Response
HTTP Status:200 OK
Response fields
| Field | Type | Description |
|---|---|---|
id | UUID | Cancellation reason ID — pass as reasonId when cancelling a booking |
nameEn | string | English label (display to English-speaking users) |
nameAr | string | Arabic label (display to Arabic-speaking users) |
Error Responses
| HTTP Status | Code | Description |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid API key |
403 | FORBIDDEN | Missing partner_bookings_cancel permission |
Notes
- Cache this list with a moderate TTL (e.g. 1–24 hours). Reasons change infrequently.
- Only active customer-facing reasons are returned.
reasonIdis required when calling the cancel endpoint.
Related Endpoints
PATCH /partners/bookings/:bookingId/cancel— Cancel a booking using areasonIdfrom this listGET /partners/bookings/:bookingId/status— Verify booking status before cancelling