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

GET

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

This API method will grab a breakdown list of team members registered at this store.

Sample Request body

Nothing required

Sample Response

{
    "status": true,
    "item": {
        "id": "LZWBJx0PmYkEwjGdr2vO",
        "first_name": "Steve",
        "last_name": "Phillips",
        "balance": 2800009.99,
        "avatar": "http://controlcenter.dev/customer/images/default-avatars/G2D3wn94m41zrAOKPvM6?v=1519804600",
      	"customer_description": "Lorem Ipsum Loermp",
        "children": [
            {
                "id": "bZ6xBGP2mdPm3R8VX17L",
                "first_name": "Bob",
                "last_name": "Martin",
                "level": 1,
                "balance": 0,
                "avatar": "http://controlcenter.dev/customer/images/default-avatars/QD59AxOJm2MenXb14Pw7?v=1513667463",
              	"customer_description": "Test Description",
                "children": [
                    {
                        "id": "nK8oWGj0zxqELP1A53ak",
                        "first_name": "Smith",
                        "last_name": "Doe",
                        "level": 2,
                        "balance": 0,
                        "avatar": "http://controlcenter.dev/customer/images/default-avatars/QD59AxOJm2MenXb14Pw7?v=1513918139",
                      	"customer_description": "Test Description"
                    },
                    {
                        "id": "G2D3wn94m41zrAOKPvM6",
                        "first_name": "API1",
                        "last_name": "Last",
                        "level": 2,
                        "balance": 0,
                        "avatar": "http://controlcenter.dev/images/avatars/128x128/14.jpg?v=1520255559",
                      	"customer_description": "Test Description"
                    }
                ]
            },
            {
                "id": "QD59AxOJm2MenXb14Pw7",
                "first_name": "Halle",
                "last_name": "Rivera",
                "level": 1,
                "balance": 0,
                "avatar": "http://controlcenter.dev/customer/images/avatar/QD59AxOJm2MenXb14Pw7/thumb?v=1517094269",
              	"customer_description": "Lorem Piwbp Mpqberp"
            },
            {
                "id": "dnbPV7yRzv3EWaX1GKZv",
                "first_name": "Gary",
                "last_name": "Lest",
                "level": 1,
                "balance": 0,
                "avatar": "http://controlcenter.dev/images/avatars/128x128/14.jpg?v=1519802244",
              	"customer_description": "Test Description"
            }
        ]
    }
}
{
  "status": true,
  "item": {
    "children": [],
    "parent": null
  }
}