Skip to main content
GET
/
tabs
/
reports
/
sales-resume
Resumen de ventas
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/reports/sales-resume \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_id": "<string>",
    "data": {
      "channels": [
        {
          "name": "<string>",
          "total": 123,
          "share": 123
        }
      ],
      "stores": [
        {
          "name": "<string>",
          "total": 123,
          "share": 123
        }
      ],
      "deliveryTypes": [
        {
          "name": "<string>",
          "total": 123,
          "share": 123
        }
      ],
      "paymentTypes": [
        {
          "name": "<string>",
          "total": 123,
          "share": 123
        }
      ],
      "tipsByPaymentType": [
        {
          "name": "<string>",
          "total": 123,
          "share": 123
        }
      ],
      "products": [
        {
          "productId": "<string>",
          "productName": "<string>",
          "categoryName": "<string>",
          "categoryId": "<string>",
          "productPrice": 123,
          "totalAmount": 123,
          "totalPrice": 123,
          "previousPeriodVariation": 123
        }
      ],
      "taxTypes": [
        {
          "description": "<string>",
          "totalAmount": 123,
          "totalNetAmount": 123,
          "totalTaxAmount": 123
        }
      ]
    },
    "total": {
      "sales": {
        "total": 123,
        "variation": 123
      },
      "tabsCount": {
        "total": 123,
        "variation": 123
      },
      "avgTicket": {
        "total": 123,
        "variation": 123
      },
      "tip": {
        "total": 123,
        "variation": 123
      },
      "discounts": {
        "total": 123,
        "variation": 123
      },
      "eatersCount": {
        "total": 123,
        "variation": 123
      },
      "tableAvgTicket": {
        "total": 123,
        "variation": 123
      }
    },
    "dates": {
      "fromDate": "2023-11-07T05:31:56Z",
      "toDate": "2023-11-07T05:31:56Z",
      "comparedFromDate": "2023-11-07T05:31:56Z",
      "comparedToDate": "2023-11-07T05:31:56Z"
    },
    "evaluations": {
      "count": 123,
      "average": 123
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getjusto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

storesIds
string[]
period
string
fromDate
string<date-time>
Example:

"2020-01-01T00:00:00.000Z"

toDate
string<date-time>
Example:

"2020-01-01T00:00:00.000Z"

deliveryTypes
string[]
sources
string[]
considerDeliveryFee
boolean
useExactDates
boolean
shiftId
string
useNetValues
boolean

Response

The OpenAPI spec

success
boolean
Example:

true

data
object