Start date and time of the metric range. The interval between periodStart and periodEnd must not exceed 100 days.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/profile/dashboard/metrics/{metric}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/profile/dashboard/metrics/{metric}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/profile/dashboard/metrics/{metric}
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/profile/dashboard/metrics/{metric}?periodStart=2024-01-01T00%3A00%3A00Z&periodEnd=2024-01-31T23%3A59%3A59Z' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Enum:"approvalRate""salesCount""salesValue""refundsValue""chargebacksCount""chargebacksValue""transactionsCount""redeemedCouponsCount""newLeadsCount""newCustomersCount"
Response
{ "metric": "approvalRate", "value": 0, "previousValue": 0, "timeseries": [ { … } ] }