# 推广tag解析
支持推客通过该接口解析推广tag(如#小程序://好物精选/测试商品***/YcaJDQiDOFEFr5g)。
# 请求地址
POST https://api.weixin.qq.com/union/promoter/product/parse_tag?access_token=ACCESS_TOKEN
# 请求参数
属性 | 类型 | 默认值 | 必填 | 说明 |
---|---|---|---|---|
access_token | string | 是 | 接口调用凭证 | |
tagList | Array.<string> | 是 | 商品推广tag列表,单次最多10个 |
# POST示例
{
"tagList": ["#小程序://好物精选/测试商品***/YcaJDQiDOFEFr5g"]
}
# 返回值
# Object
返回的 JSON 数据包
属性 | 类型 | 说明 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
tagList | Array.<Object> | |
tagList[].productId | string | 商品SPU ID |
tagList[].source | number | 商品类型 1-小商店 2-小程序 |
tagList[].productAppid | string | 店铺appid |
tagList[].errcode | number | 如果查询出错,则返回errcode |
tagList[].errmsg | string | 如果查询出错,则返回errmsg |
# 返回示例
{
"errcode": 0,
"errmsg": "ok",
"tagList": [
{
"productId": "523480",
"source": 1,
"productAppid": "wx645f5f855bf419"
},
]
}
# 错误码
37027 查询的#tag不存在
201001 查询超过上限