Skip to main content

Body Types List

Retrieve a list of active body types.

GET /v1/customer/body-types

Response

{
"success": true,
"message": "تم جلب البيانات بنجاح.",
"data": {
"bodyTypes": [
{
"id": "fe74f650-ef58-11ef-9d8f-134dba7d30a2",
"name": "الجسد الروحي"
},
{
"id": "03cc1030-ef59-11ef-aa3c-ef2f037a7eb5",
"name": "الجسد المشاعري"
}
]
},
"status_code": 200
}

Notes

  • Only active body types are returned
  • The response includes basic body type information (id and name)

Example Implementation Flow

  1. Body Types Listing
    • Application sends request to /v1/customer/body-types
    • Display body types in a list or dropdown format
    • Use the response data to populate UI elements
    • Cache the response if needed for better performance
    • Use selected body type for course filtering or categorization