Market
Get Category Details
Retrieve detailed information about a specific category by its ID, including subcategories and products
AuthorizationBearer <token>
Bearer token authentication
In: header
Path Parameters
idinteger
Category ID
Query Parameters
include_products?boolean
Include products in this category (not used in current implementation)
Default
falseinclude_subcategories?boolean
Include subcategories (not used in current implementation)
Default
trueResponse Body
curl -X GET "https://api.example.com/api/application/categories/0?include_products=false&include_subcategories=true"{
"success": true,
"data": {
"id": 1,
"name": "Web Hosting",
"description": "Professional web hosting solutions for all business sizes",
"image": "/images/categories/web-hosting.jpg",
"position": 1,
"created_at": "2025-08-02T16:38:59.000000Z",
"updated_at": "2025-08-02T16:38:59.000000Z",
"products_count": 3
}
}{
"success": false,
"message": "Unauthenticated"
}{
"success": false,
"message": "This action is unauthorized"
}{
"success": false,
"message": "Resource not found"
}