Skip to main content
GET
/
categories
List Categories
curl --request GET \
  --url https://api.example.com/categories
{
  "error": true,
  "categorieList": [
    {
      "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.

Endpoint

GET /categories
Retrieves a complete list of all categories in the system. This endpoint does not require any parameters.

Parameters

This endpoint does not accept any parameters.

Response

error
boolean
Indicates whether an error occurred during the request. Always false for successful requests.
categorieList
array
An array containing all categories in the system.

Response Example

{
  "error": false,
  "categorieList": [
    {
      "id": 1,
      "name": "bebidas",
      "created_at": "2026-02-28T14:50:19.000Z"
    },
    {
      "id": 2,
      "name": "alfajores",
      "created_at": "2026-02-28T15:03:53.000Z"
    },
    {
      "id": 3,
      "name": "galletas",
      "created_at": "2026-02-28T15:04:00.000Z"
    }
  ]
}

Build docs developers (and LLMs) love