Skip to main content

Get user referrals

GET 

/api/user/:id/referrals/

This endpoint retrieves the referrals of a user by their ID. It also calculates the total purchases made by the referrals. If not authenticated, it will just return the number of referrals.

Request

Responses