简要描述:

  • 企业客户标签列表

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号id}/plugin/WorkWechatTag/tagList

参数:

参数名 是否必须 类型 说明
page int 页数,默认1
name string 标签名
group_id string 标签组ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "tag_list": {
            "current_page": 1,
            "data": [
                {
                    "id": 223,
                    "name": "一般般啦88",
                    "group_name": "hvfrccrvrvrvrce",
                    "tag_id": "etDesSDgAAryiVXM2OSnK9EA5hpVnZaQ",
                    "customer_count": 0
                },
                {
                    "id": 222,
                    "name": "一般般啦123",
                    "group_name": "客户等级",
                    "tag_id": "etDesSDgAAALyu0NMKUK37EF6esbigqA",
                    "customer_count": 0
                },
                {
                    "id": 216,
                    "name": "一般般啦",
                    "group_name": "客户等级",
                    "tag_id": "etDesSDgAAtwenXgQVITvwQSjfEQaqUg",
                    "customer_count": 0
                },
                {
                    "id": 215,
                    "name": "xy测试标签组166",
                    "group_name": "xy测试标签组3",
                    "tag_id": "etDesSDgAAgBOmHFVlAtWJfHPSF-F-dA",
                    "customer_count": 0
                },
                {
                    "id": 214,
                    "name": "xy测试标签组055",
                    "group_name": "xy测试标签组3",
                    "tag_id": "etDesSDgAANdPzO6IPF30Q9lm_MxB1mg",
                    "customer_count": 0
                },
                {
                    "id": 213,
                    "name": "xy测试标签组1",
                    "group_name": "xy测试标签组3",
                    "tag_id": "etDesSDgAAj5AdybUztQEXvLvLTIyHEA",
                    "customer_count": 0
                },
                {
                    "id": 212,
                    "name": "xy测试标签组0",
                    "group_name": "xy测试标签组3",
                    "tag_id": "etDesSDgAAW1Mh0HxAAPY1mqQ-qBv83Q",
                    "customer_count": 0
                },
                {
                    "id": 211,
                    "name": "默认标签1",
                    "group_name": "未分组1234",
                    "tag_id": "etDesSDgAA6_AY6PUzkIoqABdlBpkCIw",
                    "customer_count": 0
                },
                {
                    "id": 210,
                    "name": "默认标签1638272178",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAA3YO6my2MCycV6PBwlGzGiw",
                    "customer_count": 0
                },
                {
                    "id": 209,
                    "name": "默认标签1638272177",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAAi2zHQ6_-DAuGCZnpKWfOKA",
                    "customer_count": 0
                },
                {
                    "id": 208,
                    "name": "默认标签12",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAA5_j_SQGQugt1PCYIfIt_KQ",
                    "customer_count": 0
                },
                {
                    "id": 207,
                    "name": "默认标签1638320446",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAACT2QG2VTK5uD9vbZUBteSg",
                    "customer_count": 0
                },
                {
                    "id": 206,
                    "name": "默认标签1638272337",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAAFFNwTXoa9fetz5PvOgS33Q",
                    "customer_count": 0
                },
                {
                    "id": 205,
                    "name": "默认标签1638272326",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAAkMLhtaO-Z7G43u3GCvAx9w",
                    "customer_count": 0
                },
                {
                    "id": 204,
                    "name": "默认标签1638272301",
                    "group_name": "未分组",
                    "tag_id": "etDesSDgAAVhvvSfqpo1y--DgewJdwSg",
                    "customer_count": 0
                }
            ],
            "first_page_url": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagList?page=1",
            "from": 1,
            "last_page": 3,
            "last_page_url": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagList?page=3",
            "next_page_url": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagList?page=2",
            "path": "http://zouye.yunzmall.com/business/1/plugin/WorkWechatTag/tagList",
            "per_page": 15,
            "prev_page_url": null,
            "to": 15,
            "total": 44
        }
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
data.tag_list.data[].id int 标签商城ID
data.tag_list.data[].name string 标签名
data.tag_list.data[].group_name string 标签组名
data.tag_list.data[].tag_id string 企业微信标签ID
data.tag_list.data[].customer_count int 客户数量