---
title: "Get top revenue-generating items (services and inventory)"
method: GET
path: "/Metrics/top-revenue-items"
tags: ["Metrics"]
---

# Get top revenue-generating items (services and inventory)

`GET /Metrics/top-revenue-items`

## Query parameters

- `period` string
- `limit` union
  - integer
  - string, int32
- `mode` string

## Response `200`

OK

- BusinessMetricsResponseDtoOfTopRevenueItemsDto
  - `success` boolean
  - `data` TopRevenueItemsDto — Top revenue-generating items (services and inventory products)
    - `items` RevenueItemDto[]
      - `name` string — Item name (e.g., "Apoquel 16mg", "Dental Cleaning Level 1")
      - `category` string — Category (e.g., "Pharmacy", "Services", "Vaccines")
      - `revenue` union — Total revenue from this item in the period
        - number, double
        - string, double
      - `count` union — Total quantity sold/administered (supports decimal for liquid medications)
        - number, double
        - string, double
      - `trend` string — Trend compared to previous period: "up", "down", "flat"
      - `status` string — Status for inventory items: "In Stock", "Low", "Reorder" Status for services: "Active"
    - `period` string
    - `totalRevenue` union
      - number, double
      - string, double
  - `error` string, nullable
  - `message` string, nullable

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
