Skip to main content
GET
/
tabs
/
reports
/
product-sales
Venta de productos
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/reports/product-sales \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "_id": "<string>",
    "productSales": [
      {
        "productId": "<string>",
        "productName": "<string>",
        "categoryName": "<string>",
        "categoryId": "<string>",
        "productPrice": 123,
        "totalAmount": 123,
        "totalPrice": 123,
        "previousPeriodVariation": 123
      }
    ],
    "categorySales": [
      {
        "categoryId": "<string>",
        "categoryName": "<string>",
        "totalAmount": 123,
        "totalPrice": 123,
        "previousPeriodVariation": 123,
        "subCategories": [
          {
            "categoryId": "<string>",
            "categoryName": "<string>",
            "totalAmount": 123,
            "totalPrice": 123,
            "previousPeriodVariation": 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

fromDate
string<date-time>
required
Example:

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

toDate
string<date-time>
required
Example:

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

storeId
string
storesIds
string[]
limit
number
deliveryTypes
string[]
sources
string[]
productCategoryIds
string[]
includeSubcategoriesOnCategories
boolean

Response

The OpenAPI spec

success
boolean
Example:

true

data
object