Get product registration analytics
Retrieve 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).
Authorizations
The API key required for accessing protected routes. It should be included in the request headers as x-api-key
.
Query Parameters
The start date for the analytics in ISO 8601 format (e.g., "2024-09-01"). If not provided, defaults to a date based on the aggregation level.
The end date for the analytics in ISO 8601 format (e.g., "2024-09-30"). If not provided, defaults to current date.
The aggregation level for the data.
daily
, weekly
, monthly
, quarterly
, yearly
The type of registration to filter by.
guest
, verified
, all
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.
The minimum product value to filter by.
x >= 0
The maximum product value to filter by.
x >= 0
The field to order by.
date
, total_registrations
, guest_registrations
, verified_registrations
, avg_registration_time
The sort order (ascending or descending).
asc
, desc
The number of results per page.
x >= 1
The offset for pagination.
x >= 0
Response
Successfully fetched product registration analytics.
The response is of type object
.