Get Uplines Information of client
POST
/public/v1/users/uplines
Request Body
Key | Type | Required | Rule | Description |
---|---|---|---|---|
user_id | string | Optional | fixed(8 ) | unique id of user |
string | Optional | email | email of user |
Expected HTTP status code
- 200
Response
Name | Type | Description |
---|---|---|
[].id | string | user unique id in CRM |
string | user's email | |
[].phone | object | user's phone object |
[].phone.country_code | string | user's phone country code |
[].phone.number | string | user's phone number |
[].height | number | height on referral's tree |
Error
Code | Type | Description |
---|---|---|
400 | user_not_found | Cannot find user from user_id or email |