Ingredientes
Consultar ingrediente por ID
Obtiene el detalle de un ingrediente por su ID.
Autenticación requerida: Bearer Token.
get/ingredients/{id}
Request
- Base URLhttps://api.pirpos.com
- URLhttps://api.pirpos.com/ingredients/{id}
- AuthHTTP bearer
Path parameters
idstring required
ID del ingrediente
Response
Ingrediente encontrado
Example response
{
"_id": "507f1f77bcf86cd799439021",
"business": "507f1f77bcf86cd799439012",
"category": "507f1f77bcf86cd799439013",
"name": "Queso Mozzarella",
"description": "Queso para pizzas y pastas",
"unit": "507f1f77bcf86cd799439099",
"barcode": "7701234567890",
"stock": 25,
"stockMinimum": 5,
"price": 3500,
"isActive": true,
"isIngredient": true,
"modifiedOn": "2025-08-04T10:30:00.000Z",
"createdOn": "2025-08-01T09:15:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.