GET
/statistics/products/top
Get top products ranking
Statistics
Description
Retrieve a product ranking for the selected merchant or affiliate scope.
Rankings use click and product view popularity data plus accepted conversion and revenue metrics.
Parameters
merchant_id
integer
query
Merchant scope for the ranking. Either merchant_id or affiliate_id is required.
affiliate_id
integer
query
Affiliate scope for the ranking. Either merchant_id or affiliate_id is required.
start_date
string
query
Start date for the statistics range (ISO 8601 format). Defaults to 30 days ago.
end_date
string
query
End date for the statistics range (ISO 8601 format). Defaults to current time.
reward_status
string
query
Filter conversion metrics by reward status. When omitted, all reward statuses are included.
exclude_bots
boolean
query
Exclude bot traffic from redirect-side counts. Defaults to false.
limit
integer
query
Maximum number of products to return.
Responses
200
Successful response with top products
application/jsonstatusstring
Example:
successdataarray