---
title: "Listado de mermas"
method: GET
path: "/tabs/{storeId}/waste-incidents"
---

# Listado de mermas

`GET /tabs/{storeId}/waste-incidents`

## Request

- Base URL: `https://api.service.getjusto.com/v3`
- URL: `https://api.service.getjusto.com/v3/tabs/{storeId}/waste-incidents`
- Auth: none declared

## Path parameters

- `storeId` string, required

## Query parameters

- `fromDate` string, date-time: Fecha de inicio de la búsqueda.
- `toDate` string, date-time: Fecha de fin de la búsqueda.
- `page` number: Número de página.
- `limit` number: Número de items por página. Max 100. Por defecto: 10.
- `sortBy` 'date': Campo por el cual se ordenará la lista. Por defecto: "date".
- `sortType` 'asc' | 'desc': Tipo de ordenamiento.

## Response `200`

The OpenAPI spec

- object
  - `success` boolean
  - `data` object
    - `items` TabsWasteIncident[]: Items de la lista.
      - `_id` string: El ID de la merma.
      - `storeId` string: El ID de la tienda al que pertenece la merma.
      - `code` string: El código de la merma.
      - `date` string, date-time: La fecha de la merma.
      - `voidedAt` string, date-time: La fecha en que se anuló la merma.
      - `ingredients` object[]: Lista de ingredientes incluidos en la merma.
        - `ingredientId` string: El ID del ingrediente.
        - `name` string: El nombre del ingrediente.
        - `quantity` number: La cantidad del ingrediente en la merma.
        - `unitOfMeasurement` string: La unidad de medida del ingrediente.
    - `hasNextPage` boolean: Indica si hay una página siguiente.
    - `hasPreviousPage` boolean: Indica si hay una página anterior.
    - `totalPages` number: Total de páginas.
    - `totalCount` number: Total de items.

## Other responses

- `400`: Errors

## Changes

- **2026-07-22** `d9d38def2cf6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getjusto/apis/justo-api/changes/tabs/:storeId/waste-incidents/get.md)

---

[API](https://skmtc.dev/getjusto/apis/justo-api.md) - [All operations](https://skmtc.dev/getjusto/apis/justo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getjusto/apis/justo-api/revisions/c810bd8246fd?raw)
