GET
/api/v1/customer/friend-list/{id}
This API will return a list of friends for another customer
Request Parameters
None
Sample Response
{
"status": true,
"items": [
{
"id": "nK8oWGj0zxqELP1A53ak",
"name": "Jody Foster",
"customer_description": "",
"friend_status": 1,
"team_store_count": 1,
"avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1532716929",
"total_balance": 0
},
{
"id": "QD59AxOJm2MenXb14Pw7",
"name": "Michelle Rivera",
"customer_description": "",
"friend_status": null,
"team_store_count": 1,
"avatar": "http:\/\/controlcenter.ftx\/customer\/images\/avatar\/QD59AxOJm2MenXb14Pw7\/thumb?v=1532716929",
"total_balance": 0
}
]
}{
"status": false,
"errorCode": "NO_ITEMS",
"message": "There are currently no friends or team members for this member"
}{
"status": false,
"message": "Invalid customer in request"
}