Ingredientes

Consultar ingredientes

Consulta ingredientes y productos con inventario según configuración del negocio. Soporta filtros y paginación.

Autenticación requerida: Bearer Token.

get/ingredients

Request

  • Base URL
    https://api.pirpos.com
  • URL
    https://api.pirpos.com/ingredients
  • Auth
    HTTP bearer

Query parameters

paginationboolean

Habilitar paginación

limitinteger

Número de elementos por página

pageinteger

Número de página (base 0)

categoryIdstring

Filtrar por categoría

namestring

Buscar por nombre

onlyIngredientboolean

Solo ingredientes

mainProductsWithIngredientsboolean

Incluye productos principales con ingredientes

excludeCombosboolean

Excluir combos

locationStockstring

Filtrar por ubicación de stock (cuando el permiso lo permite)

Response

Lista de ingredientes

OR

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.