get/tabs/{storeId}/shifts

Request

  • Base URL
    https://api.service.getjusto.com/v3
  • Auth
    none declared

Path parameters

storeIdstring required

Query parameters

fromDatestring date-time

Fecha de inicio de la búsqueda.

Example:2020-01-01T00:00:00.000Z
toDatestring date-time

Fecha de fin de la búsqueda.

Example:2020-01-01T00:00:00.000Z
pagenumber

Número de página.

Example:1
limitnumber

Número de items por página. Max 100. Por defecto: 10.

Example:10
sortBy'createdAt'

Campo por el cual se ordenará la lista. Por defecto: "createdAt".

Example:createdAt
sortType'asc' | 'desc'

Tipo de ordenamiento.

Example:desc

Response

The OpenAPI spec

successboolean

Example response

{
  "success": true,
  "data": {
    "items": [
      {
        "startedAt": "2020-01-01T00:00:00.000Z",
        "endedAt": "2020-01-01T00:00:00.000Z",
        "closedTabsTotalSales": 2,
        "discountsAmount": 2,
        "avgTicket": 2,
        "eatersCount": 2,
        "totalPayments": 2,
        "cashRegisterShifts": [
          {
            "startedAt": "2020-01-01T00:00:00.000Z",
            "endedAt": "2020-01-01T00:00:00.000Z"
          }
        ]
      }
    ]
  }
}

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status