猜你喜欢流量API接口返回Api列表
用户扫二维码后直接访问你的淘宝宝贝,会在生意参谋中,显示该访客是通过手淘首页访问到你的商品,可以为您拟定更加个性化的补流量方案
请求地址
http://www.taoyanhao.com/Api/Rest.ashx?type=GuessItem
请求参数
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| uid | String | 是 | 用户id,在淘测测登录后有显示 |
| ticks | String | 是 | 13位时间戳,格式为1557052966760,API允许请求最大时间误差为10分钟。 |
| itemid | String | 是 | 淘宝商品数字ID |
| token | String | 是 | 本次请求的签名,算法为:MD5(uid+ticks+itemid+secret)。 【secret在会员中心里,点此查看】 |
返回结果
失败时:
{
"success": false,
"info": "非法请求"
}
成功时:
{
"qrcode": "http://www.taoyanhao.com/barcode/20190619/cfae60b8790844f5b2227e5174c58ba9.jpg",
"success": true,
"info": ""
}
返回参数
| 名称 | 类型 | 描述 |
|---|---|---|
| success | String | 接口调用是否成功,true/false |
| info | String | 返回失败时的提示消息 |
| qrcode | String | 卡入口的二维码 |