Category Details
GET
/categories/{category}This endpoint allows you to return the complete details for a specific category by passing the category
as a path parameter.
Request
Unique identifiers assigned to a Category. List of Category IDs can be found here
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
Request samples
Responses
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
{
"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": "This product is amazing",
"description": "This Product is one of the amazing things you can buy for yourself",
"url": "https://salla.sa/dev-mvxlkrylzfanmuri/t-shirt/p1672908878"
},
"sub_categories": []
}
}