Light Mode
Category Details
GET
/categories/{category}Last modified: 6 days ago
This endpoint allows you to return the complete details for a specific category by passing the category
as a path parameter.
Request
Path Params
category
integer
required
The Category ID. List of Category ID can be found here
Query Params
with
array[string]
optional
Returns the response with translations or items (or both). Takes values with separated comma or array of either items, translations or both in this case:with=items
OR with=translations
OR with[]=items&with[]=translations
OR with=items,translations
Example:
["items"]
Request samples
Responses
Success(200)
Record Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Example
{
"status": 200,
"success": true,
"data": {
"id": 1390018242,
"name": "laptops",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/QEFy9wUtKnazAVvm3t3WSYg2z1LTnxUzvrceFo2s.jpg",
"urls": {
"customer": "https://store.test/ar/jalal56s/laptops/c1390018242",
"admin": "/categories"
},
"parent_id": 0,
"sort_order": 0,
"status": "active",
"show_in": {
"app": true,
"salla_points": true
},
"has_hidden_products": true,
"update_at": "2024-10-24 13:24:48",
"metadata": {
"title": null,
"description": null,
"url": null
},
"sub_categories": []
}
}
Last modified: 6 days ago