Get Affiliate Counts
GET/affiliates/count
Returns the count of affiliates grouped by status (pending, approved, denied) for the authenticated merchant. The deniedCount includes BANNED affiliates — banned affiliates are counted within the denied bucket. When called without filter parameters, results are cached for 1 minute.
Supports the same filter parameters as GET /affiliates. When filters are supplied, the cache is bypassed and counts reflect the filtered result set. Performance-specific filters (the 34-parameter matrix across the pending, 30-day, and total buckets, plus hasPendingConversions and lastConversionDaysAgo) narrow only the approvedCount; pendingCount and deniedCount are not affected by those filters.
Request
Responses
- 200
- 401
- 422
- 500
Affiliate counts retrieved successfully
Authentication required
Invalid query parameters
Internal server error