GET
/api/v1/customer/friend-requests/{id}
This API method will retrieve a list of active friend requests (pending) for the given customer id.
Request Parameters
None
Sample Response
{
"status": true,
"item": {
"id": "bZ6xBGP2mdPm3R8VX17L",
"customer_description": "",
"name": "Steve Martin",
"total_balance": 0,
"avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1513629663",
"created_at": "2018-07-27 08:56:14",
"sent_request": 0
}
}{
"status": false,
"errorCode": "NO_REQUESTS",
"message": "There is no friend request available for this member"
}{
"status": false,
"errorCode": "USER_BLOCKED",
"message": "Member is blocked, cannot view any friend requests"
}