---
title: "POST /business-stats/metrics/conversionRate"
method: POST
path: "/business-stats/metrics/conversionRate"
---

# POST /business-stats/metrics/conversionRate

`POST /business-stats/metrics/conversionRate`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/business-stats/metrics/conversionRate`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/business-stats/metrics/conversionRate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `offset` integer
- `count` integer
- `backfillZeroes` boolean

## Request body

- MetricRequest
  - `groupByProduct` boolean
  - `groupByTenant` boolean
  - `tenantLocators` string[]
  - `products` string[]
  - `tenantType` 'test' | 'production' | 'retired' | 'deleted'
  - `startTime` string, date-time, required
  - `endTime` string, date-time, required
  - `periodic` 'none' | 'day' | 'week' | 'month' | 'quarter' | 'year'
  - `currencies` string[]
  - `localStartDateAdjusted` string, date, required
  - `localEndDateAdjusted` string, date, required

## Response `200`

OK

- MetricResponse
  - `offset` integer, required
  - `count` integer, required
  - `startDate` string, date, required
  - `endDate` string, date, required
  - `periodic` 'none' | 'day' | 'week' | 'month' | 'quarter' | 'year', required
  - `results` DataPoint[], required
    - `productName` string, required
    - `tenantLocator` string, uuid, required
    - `currency` string, required
    - `dataPointStartDate` string, date, required
    - `value` number, required

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/6537d24b3693?raw)
