This endpoint retrieves a single product record from 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.
vista_catalogo_productos view filtered by its numeric primary key. It returns the same fully denormalized schema as the list endpoint, making it suitable for populating product edit forms in the admin panel. Unlike the public store equivalent, this endpoint returns the product regardless of its activo status, so deactivated products are always accessible here.
Request
Method:GETPath:
/api/v1/admin/productos/:idRequest body: none
Path Parameter
The numeric ID of the product to retrieve. Must be a positive integer that matches an existing row in the
productos table.Response
200 — Success
Returns the product object directly (not wrapped in an array). The schema is identical to a single element from the List Products response.Unique numeric identifier for the product.
Display name of the product.
Optional free-text description.
null if not set.Foreign key referencing the
categorias table.Human-readable category name joined from the
categorias table.Product price in ARS as a decimal string with two places (e.g.
"40000.00").Whether the product is marked as featured.
Whether the product is publicly visible in the store. Deactivated products (
false) are still returned by this admin endpoint.ISO 8601 timestamp of when the product row was inserted.
Public URL of the image with the lowest
orden value. null if no images have been attached.Sum of
stock across all variants of this product.Aggregated stock per size. Each element has
talle (label) and cantidad (total units across all colors).Flat array of unique hex color codes for all variants (e.g.
["#4A5D23"]).All product images ordered by
orden ascending. Each element contains url and orden.Sorted array of
talle_id integers that appear in this product’s variants.Sorted array of
color_id integers that appear in this product’s variants.Full variant matrix with
talle_id, color_id, stock, and activo per combination.400 — Product Not Found
Returned when no row with the givenid exists in the vista_catalogo_productos view.