Skip to main content

Cancel Reasons List

This section covers the endpoints for retrieving cancellation reasons.

Available Endpoints

List Cancel Reasons

Get a list of all available cancellation reasons.

Endpoint

  • Method: GET
  • URL: /v1/coach/cancel-reasons

Request Headers

HeaderValueRequired
Content-Typeapplication/jsonYes
Acceptapplication/jsonYes
AuthorizationBearer tokenYes

Success Response

{
"success": true,
"message": "تم جلب البيانات بنجاح",
"data": [
{
"id": "uuid",
"reason": "string"
},
],
"statusCode": 200
}

Overview

Cancel Reason Information

Each cancel reason includes:

  • Unique identifier
  • Reason name
  • Active status
  • Priority for sorting

Important Notes

  • Reasons are sorted by priority
  • Only active reasons are returned
  • Reasons are used for session and order cancellations
  • Cancel reason data is cached for better performance
  • Cancel reasons are managed through the admin panel