Get Business Category (v1)
Get a single business category by ID.
Method & Path
GET /v1/admin/business-categories/:categoryId
Description
Retrieves detailed information about a specific business category.
Authentication
Required: Admin authentication with businesses.manage permission.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
categoryId | string | Yes | The category ID |
Response 200 OK
{
"category": {
"id": "507f1f77bcf86cd799439011",
"name": {
"en": "Beauty Salon",
"ar": "صالون تجميل"
},
"slug": "beauty-salon",
"status": "active"
},
"meta": {
"locales": ["en", "ar"]
}
}
Common Errors
- 401 Unauthorized: Missing or invalid admin authentication token
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Category not found
- 500 Internal Server Error: Server error