---
title: "List Shifts"
method: GET
path: "/tabs/{storeId}/shifts"
---

# List Shifts

`GET /tabs/{storeId}/shifts`

## Request

- Base URL: `https://api.service.getjusto.com/v3`
- URL: `https://api.service.getjusto.com/v3/tabs/{storeId}/shifts`
- 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` 'createdAt': Campo por el cual se ordenará la lista. Por defecto: "createdAt".
- `sortType` 'asc' | 'desc': Tipo de ordenamiento.

## Response `200`

The OpenAPI spec

- object
  - `success` boolean
  - `data` object
    - `items` TabsShift[]: Items de la lista.
      - `_id` string: Shift ID
      - `websiteId` string: ID de la marca
      - `storeId` string: ID del local
      - `startedAt` string, date-time: Fecha en que empezó el turno
      - `endedAt` string, date-time: Fecha en que terminó el turno
      - `createdById` string: ID del usuario que abrió el turno
      - `closedTabsTotalSales` number: Total de ventas de los tabs cerrados
      - `discountsAmount` number: Total de descuentos
      - `avgTicket` number: Promedio de ticket
      - `eatersCount` number: Cantidad de comensales
      - `totalPayments` number: Total de pagos
      - `cashRegisterShifts` object[]: Turnos de la caja
        - `_id` string
        - `cashRegisterId` string
        - `startedAt` string, date-time
        - `endedAt` string, date-time
        - `startBalances` TabsShiftCashregisterBalance[]
          - `paymentMethodId` string: ID del método de pago
          - `balance` number: Balance de la caja
        - `endBalances` TabsShiftCashregisterBalance[]
          - `paymentMethodId` string: ID del método de pago
          - `balance` number: Balance de la caja
    - `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

- **2025-10-01** `9ae38b6502d0`: 6 info
  - added the optional property `data/items/items/avgTicket` to the response with the `200` status
  - added the optional property `data/items/items/cashRegisterShifts` to the response with the `200` status
  - added the optional property `data/items/items/closedTabsTotalSales` to the response with the `200` status
  - added the optional property `data/items/items/discountsAmount` to the response with the `200` status
  - …2 more
- **2025-10-01** `5940dc4f7a99`: 6 warning
  - removed the optional property `data/items/items/avgTicket` from the response with the `200` status
  - removed the optional property `data/items/items/cashRegisterShifts` from the response with the `200` status
  - removed the optional property `data/items/items/closedTabsTotalSales` from the response with the `200` status
  - removed the optional property `data/items/items/discountsAmount` from the response with the `200` status
  - …2 more
- **2025-09-30** `de3ddd2b3047`: 6 info
  - added the optional property `data/items/items/avgTicket` to the response with the `200` status
  - added the optional property `data/items/items/cashRegisterShifts` to the response with the `200` status
  - added the optional property `data/items/items/closedTabsTotalSales` to the response with the `200` status
  - added the optional property `data/items/items/discountsAmount` to the response with the `200` status
  - …2 more
- **2025-08-18** `bf1ae81aa046`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getjusto/apis/justo-api/changes/tabs/:storeId/shifts/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)
