Sizes (talles) represent the physical size options available for Balsamoa products. Each product variant is defined by a combination of a size ID and a color ID. Retrieve the full list of sizes from this endpoint to populate a size picker or to build theDocumentation 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.
variantes array when creating or updating a product.
Request
| Property | Value |
|---|---|
| Method | GET |
| Path | /api/v1/admin/talles |
Example
Response
200 OK — An array of size objects, sorted by theorden field in ascending order.
Response Fields
The unique numeric identifier for this size. Pass this value as
talle_id inside each object of the variantes array when creating or updating a product.The human-readable size label (e.g.,
"S", "M", "XL").A numeric sort key used to determine the display order of sizes in both the admin panel and the public store frontend. Lower values appear first.
Error Cases
| Status | Cause | Response body |
|---|---|---|
404 | The talles table contains no rows | {"mensaje": "Registros no encontrados"} |
The
orden field is the canonical source of truth for size ordering across the entire application. The database view vista_catalogo_productos uses ORDER BY t.orden when aggregating stock_por_talle, so size objects on product responses always appear in the same sequence as returned by this endpoint.