Analytics API
Get lifetime product analytics
Retrieve lifetime analytics for a product, including sales, taps, registrations, and other metrics. The endpoint supports filtering by team, collection, product, and geographic location. Results include aggregated metrics across all time periods.
GET
Authorizations
The API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
Query Parameters
The team ID to filter by. Either team_id or team_slug must be provided.
The team slug to filter by. Either team_id or team_slug must be provided.
The collection ID to filter by.
The collection slug to filter by.
The product ID to filter by.
The country code to filter by.
The region code to filter by.
Response
200
application/json
Successfully fetched lifetime product analytics.
The response is of type object
.
Previous
Get product registration analyticsRetrieve analytics for product registrations over a specified date range, with various filters and aggregation levels. The endpoint supports filtering by team, collection, product, and various other parameters. Results can be aggregated at different time intervals (daily, weekly, monthly, quarterly, yearly).
Next