Product categories define the top-level groupings available in the Balsamoa store. Every product must belong to exactly one category, identified by itsDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/MateoNavarroMN/Balsamoa-Backend/llms.txt
Use this file to discover all available pages before exploring further.
id. This endpoint returns all category records seeded in the database so you can populate a category selector before creating or updating a product.
Request
| Property | Value |
|---|---|
| Method | GET |
| Path | /api/v1/admin/categorias |
Example
Response
200 OK — An array of category objects ordered by database insertion (ascendingid).
Response Fields
The unique numeric identifier for the category. Pass this value as
categoria_id in product create and update requests.The display name of the category (e.g.,
"Hoodie", "Remera").A short human-readable description of the category. May be
null if no description was provided.Error Cases
| Status | Cause | Response body |
|---|---|---|
404 | The categorias table contains no rows | {"mensaje": "Registros no encontrados"} |