POST
/api/v1/customer/{id}/send-team-request
This API will send a team request to another member, specific to a given store or chain.
Request Parameters
Parameter | Value / Type | Required |
|---|---|---|
store_id | STRING | true |
Sample Response
{
"status": true,
"message": "Successfully sent team request to this member"
}{
"status": false,
"errorCode": "USER_BLOCKED",
"message": "Member is blocked, cannot complete request"
}{
"status": false,
"errorCode": "VALIDATION_EXCEPTION",
"messages": {
"id": [
"Member does not exist"
]
}
}{
"status": false,
"message": "You cannot add yourself as a team member"
}{
"status": false,
"message": "You are already a team member of this user"
}{
"status": false,
"message": "You are already a team member or you have already sent a request to this member"
}{
"status": false,
"message": "You must be friends with this member to send this request"
}{
"status": false,
"message": "This member does not exist in the system"
}{
"status": false,
"message": "This member is already part of this store"
}