Skip to main content
GET
/
tabs
/
reports
/
daily-products-sales
Venta diaria de productos
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/reports/daily-products-sales \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_id": "<string>",
    "products": [
      {
        "productId": "<string>",
        "name": "<string>",
        "days": [
          {
            "date": "2023-11-07T05:31:56Z",
            "totalInventoryCost": 123,
            "totalSales": 123,
            "salesCount": 123
          }
        ],
        "totals": {
          "totalInventoryCost": 123,
          "totalSales": 123,
          "salesCount": 123
        },
        "internalName": "<string>"
      }
    ],
    "modifiers": [
      {
        "modifierId": "<string>",
        "name": "<string>",
        "days": [
          {
            "date": "2023-11-07T05:31:56Z",
            "totalInventoryCost": 123,
            "totalSales": 123,
            "salesCount": 123
          }
        ],
        "totals": {
          "totalInventoryCost": 123,
          "totalSales": 123,
          "salesCount": 123
        }
      }
    ],
    "days": [
      {
        "date": "2023-11-07T05:31:56Z",
        "totalInventoryCost": 123,
        "totalSales": 123,
        "salesCount": 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

storeId
string
required
fromDate
string<date-time>
required
Example:

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

toDate
string<date-time>
required
Example:

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

categoryIds
string[]
combineProductsAndModifiers
boolean

Response

The OpenAPI spec

success
boolean
Example:

true

data
object