---
title: "Returns the Retail KPI summaries for the specified date range."
method: GET
path: "/v2/ecommerce/summaries"
tags: ["ApiEcommerce"]
---

# Returns the Retail KPI summaries for the specified date range.

`GET /v2/ecommerce/summaries`

## Query parameters

- `dateRange` 'LastThirtyVsPrevious' | 'TodayVsYesterday' | 'YesterdayVsPrevious' | 'ThisWeekVsLast' | 'LastWeekVsPrevious' | 'ThisMonthVsLast' | 'LastMonthVsPrevious' | 'ThisYearVsLast' | 'LastYearVsPrevious' | 'AllTime' | 'NotAvailableInThisVersion'

## Response `200`

- ReportSummaryOfKpiMetricSummary
  - `records` KpiMetricSummary[], nullable
    - `metricType` 'TotalRevenue' | 'AverageOrderValue' | 'CustomerLifetimeValue' | 'TotalOrders' | 'AverageItemsPerOrder' | 'AverageDaysToSecondOrder' | 'Customers' | 'SinglePurchaseCustomers' | 'RepeatCustomers' | 'TotalDelay' | 'TotalRepeatOrders' | 'TotalItems'
    - `metricValues` KpiMetricValue
      - `initialTotalValue` number, double
      - `comparisonTotalValue` number, double
    - `dateRange` 'LastThirtyVsPrevious' | 'TodayVsYesterday' | 'YesterdayVsPrevious' | 'ThisWeekVsLast' | 'LastWeekVsPrevious' | 'ThisMonthVsLast' | 'LastMonthVsPrevious' | 'ThisYearVsLast' | 'LastYearVsPrevious' | 'AllTime' | 'Custom'
  - `dateRange` 'LastThirtyVsPrevious' | 'TodayVsYesterday' | 'YesterdayVsPrevious' | 'ThisWeekVsLast' | 'LastWeekVsPrevious' | 'ThisMonthVsLast' | 'LastMonthVsPrevious' | 'ThisYearVsLast' | 'LastYearVsPrevious' | 'AllTime' | 'Custom'
  - `asOfDate` string, date-time

---

[API](https://skmtc.net/dotdigital/apis/apiconnector-com.md) · [All operations](https://skmtc.net/dotdigital/apis/apiconnector-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dotdigital/apiconnector-com/revisions/109c0537cf77/schema)
