v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Merchants

Get Chart Data

Get time-series chart data for performance visualization.

Args:

  • merchant_id: The ID of the merchant (program)
  • metric: The metric to chart (member_growth, redemptions, points_issued, engagement_rate)
  • period: The time period (7d, 30d, 90d, custom)
  • user: The authenticated user

Returns:

  • ChartDataResponse with daily data points and event markers
get/v2/merchants/{merchant_id}/metrics/chart

Path parameters

merchant_idstring required

Query parameters

metricstring
periodstring

Headers

authorizationstring nullable

Response

Successful Response