简要描述:

  • 标签组接口

请求域名:

  • http://xx.com

请求URL:

POST/xx.com/business/{公众号id}/plugin/CustomerManage/getTagGroupList

参数:

参数名 是否必须 类型 说明
keyword string 关键字

返回示例:

正确时返回:

 {
    "result": 1,
    "msg": "ok",
    "data": {
        "tag_group_list": {
            "current_page": 1,
            "data": [
                {
                    "group_id": "etDesSDgAAgaPK4ZV9R6whR-HznwfJGw",
                    "name": "铜牌"
                },
                {
                    "group_id": "etDesSDgAAgSPK4ZV9R6whR-HznwfJGw",
                    "name": "金牌"
                },
                {
                    "group_id": "etDesSDgAAgwPK4ZV9R6whR-HznwfJGw",
                    "name": "金牌"
                },
                {
                    "group_id": "etDesSDgAAgxPK4ZV9R6whR-HznwfJGw",
                    "name": "银牌"
                },
                {
                    "group_id": "etDesSDgAAkqdytUBUMtc_fsnHRnEZ6w",
                    "name": "银牌"
                }
            ],
            "first_page_url": "http://yzhonshop.com/business/1/plugin/CustomerManage/getTagGroupList?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://yzhonshop.com/business/1/plugin/CustomerManage/getTagGroupList?page=1",
            "next_page_url": null,
            "path": "http://yzhonshop.com/business/1/plugin/CustomerManage/getTagGroupList",
            "per_page": 15,
            "prev_page_url": null,
            "to": 5,
            "total": 5
        }
    }
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }

返回参数说明:

参数名 类型 说明
tag_group_list.group_id string 标签组id
tag_group_list.name string 标签组名称

备注:

  • 更多返回错误代码请看首页的错误代码描述