POST
/api/v1/customer/{id}/add-friend
This API will send a friend request to another member.
Request Parameters
None
Sample Response
{
"status": true,
"message": "Successfully sent friend request to this member"
}{
"status": false,
"message": "You cannot add yourself as a friend"
}{
"status": false,
"errorCode": "USER_BLOCKED",
"message": "Member is blocked, cannot complete request"
}{
"status": false,
"errorCode": "VALIDATION_EXCEPTION",
"messages": {
"id": [
"Member does not exist"
]
}
}{
"status": true,
"message": "You are already a team member of this user"
}{
"status": false,
"errorCode": "USER_BLOCKED",
"message": "Member is blocked, cannot complete request"
}