api/v1/customer/stores/{id}/all-team

GET

/api/v1/customer/stores/{id}/all-team

This API method will grab a list of all team members.

Sample Request body

Parameter

Value / Type

Required

level_number

INTEGER

false

include_blocked_customers

BOOL

false

per_page

INTEGER

false

page

INTEGER

false

Sample Response

{
  "status": true,
  "items": [
    {
      "id": "bZ6xBGP2mdPm3R8VX17L",
      "name": "John Smith",
      "customer_description": "",
      "friend_status": 1,
      "team_store_count": 1,
      "avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1532370792",
      "total_balance": 0,
      "current_level": 1,
      "accumulated_tokens": "5000.00",
      "earned_you_tokens": "164900.00",
      "total_members":2,
      "is_block": 0
    },
    {
      "id": "nK8oWGj0zxqELP1A53ak",
      "name": "George McFarlane",
      "customer_description": "",
      "friend_status": 1,
      "team_store_count": 2,
      "avatar": "http:\/\/controlcenter.ftx\/customer\/images\/default-avatars\/4?v=1532370792",
      "total_balance": 0,
      "current_level": 1,
      "accumulated_tokens": "3000.00",
      "earned_you_tokens": "64900.00",
      "total_members":2,
      "is_block": 1
    },
    {
      "id": "QD59AxOJm2MenXb14Pw7",
      "name": "Mary Brown",
      "customer_description": "",
      "friend_status": 0,
      "team_store_count": 1,
      "avatar": "http:\/\/controlcenter.ftx\/customer\/images\/avatar\/QD59AxOJm2MenXb14Pw7\/thumb?v=1532370792",
      "total_balance": 0,
      "current_level": 1,
      "accumulated_tokens": "1000.00",
      "earned_you_tokens": "4900.00",
      "total_members":5,
      "is_block": 0
    }
  ]
}
{
    "status": true,
    "item": []
}