- Retrieve dashboard metric data
Retrieve profile dashboard
Update profile dashboard
Retrieve dashboard metric...
Retrieves the report data for a single dashboard metric.
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}
- SecretApiKey
- JWT
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'Metric report retrieved.
Type of dashboard metric.
Enum:"approvalRate""salesCount""salesValue""refundsValue""chargebacksCount""chargebacksValue""transactionsCount""redeemedCouponsCount""newLeadsCount""newCustomersCount"
Tile value for the previous date range. This value is relative to the specified date range.
Response
{ "metric": "approvalRate", "value": 0, "previousValue": 0, "timeseries": [ { … } ] }