Resellers
Reseller Stats
Changed onAggregate stats for the shop's reseller program, with 30-day deltas.
get/v1/shops/{shopId}/resellers/stats
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Example response
{
"total_resellers": 2,
"active_resellers": 2,
"inactive_resellers": 0,
"new_resellers": 2,
"pending_applications": 0,
"revenue_usd": 14.99,
"revenue_usd_previous": 0,
"revenue_usd_all_time": 14.99,
"orders_all_time": 2,
"top_performers": [
{
"id": 1,
"email": "customer@sellauth.test",
"shop_id": 1,
"balance": "100.00",
"reseller_status": "approved",
"reseller_tier_id": null,
"reseller_applied_at": null,
"reseller_approved_at": "2026-11-01T20:00:51.000000Z",
"reseller_total_spent_usd": 0,
"reseller_total_completed": 0,
"created_at": "2026-11-01T20:00:51.000000Z",
"reseller_tier": null
},
{
"id": 3,
"email": "reseller@sellauth.test",
"shop_id": 1,
"balance": "100.00",
"reseller_status": "approved",
"reseller_tier_id": null,
"reseller_applied_at": null,
"reseller_approved_at": "2026-11-01T20:00:51.000000Z",
"reseller_total_spent_usd": 0,
"reseller_total_completed": 0,
"created_at": "2026-11-01T20:00:51.000000Z",
"reseller_tier": null
}
],
"window_days": 30
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status
- breaking
- breaking
the
response's property type changed fromintegertonumberfor status - breaking
the
response's property type changed fromintegertonumberfor status
- breaking