curl --request GET \
--url https://api.example.com/categories/:id{
"error": true,
"msg": "<string>",
"categorie": {
"id": 123,
"name": "<string>",
"created_at": "<string>"
}
}Retrieve a single category by its ID
curl --request GET \
--url https://api.example.com/categories/:id{
"error": true,
"msg": "<string>",
"categorie": {
"id": 123,
"name": "<string>",
"created_at": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/andreguti9190/Sistema-de-gestion-de-ventas--Nodejs/llms.txt
Use this file to discover all available pages before exploring further.
GET /categories/:id
{
"error": false,
"msg": "Categorie got sucessfully",
"categorie": {
"id": 1,
"name": "bebidas",
"created_at": "2026-02-28T14:50:19.000Z"
}
}
{
"error": true,
"msg": "id is invalid"
}
{
"error": true,
"msg": "categorie not found"
}