Merchants
Get Merchant Metrics
Get metrics for a merchant's loyalty program.
Args:
- merchant_id: The ID of the merchant (program)
- period: The time period for metrics (7d, 30d, 90d, custom)
- user: The authenticated user
Returns:
- MetricsResponse with program metrics and trends
get/v2/merchants/{merchant_id}/metrics
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
merchant_idstring required
Query parameters
periodstring
Headers
authorizationstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 7 revisions of this API.