根据用户信息个性化推荐商品
接口最多返回40个商品,可能返回极少或不返回商品,渠道需做好兼容
接口地址:
http://api.tbk.dingdanxia.com/vip/user_recommend
在线测试
接口支持https,非大陆服务器(含港澳台)调用接口会出现网络缓慢现象,请联系客服获取国外专线接口
请求参数、 调用方式 GET/POST
参数接口
参数类型
必填
示例
说明
返回参数说明
标记
类型
例子
说明
返回示例
{ "code": 200, "msg": "请求成功【success】", "total_results": 2, "data": [{ "marketPrice": "1489.00", "commissionRate": "3", "goodsId": "6919052157731391619", "discount": "0.17", "categoryName": "床上套件", "haiTao": 0, "cat2ndName": "床上用品", "cat1stName": "家纺布艺", "vipPrice": "229.00", "commission": "6.87", "cat1stId": 32532, "goodsName": "纯棉简约印花套件舒适亲肤四季款全棉床单被套床上用品三/四件套", "brandName": "博洋家纺", "brandLogoFull": "http://a.vpimg3.com/upload/brandcool/0/1a3d613045d344dca6ad21dcc3f0d781/10000335/primary.png", "couponInfo": { "useEndTime": 1617156000000, "totalAmount": 1000000, "couponName": "20元优惠券", "activateEndTime": 1617156000000, "buy": "20.00", "useBeginTime": 1616464801000, "couponNo": "1471162", "fav": "20.00", "activateBeginTime": 1616464800000, "activedAmount": 5728 }, "brandStoreSn": "10000335", "sellTimeFrom": 1537860217000, "schemeStartTime": 1616205600000, "schemeEndTime": 2145888000000, "sourceType": 0, "sellTimeTo": 1735660800000, "brandId": 1710613859, "goodsThumbUrl": "https://a.vpimg3.com/upload/merchandise/pdcvis/100287/2020/0902/31/05b4b7e4-077d-4f42-84de-318d0929b6c0_750x750_50.jpg", "cat2ndId": 441, "spuId": "SPU-0943981A80080177", "storeInfo": { "storeName": "唯品自营", "storeId": "ST00000" }, "goodsMainPicture": "https://a.vpimg2.com/upload/merchandise/pdcvis/100287/2020/0902/31/05b4b7e4-077d-4f42-84de-318d0929b6c0.jpg", "destUrl": "https://m.vip.com/product-1710613859-6919052157731391619.html", "categoryId": 390875, "status": 1 }, { "marketPrice": "230.00", "commissionRate": "1", "goodsId": "6918503738539615059", "discount": "0.27", "categoryName": "护体乳", "haiTao": 0, "cat2ndName": "身体护理", "cat1stName": "个人护理", "vipPrice": "45.00", "commission": "0.45", "cat1stId": 7470, "goodsName": "【樱香萦绕】樱花烟酰胺身体乳女润肤持久留香滋润香体补水保湿", "brandName": "半亩花田", "brandLogoFull": "http://a.vpimg3.com/upload/brandcool/0/82b72f7239234bc681e6c113e93ea53c/10038705/primary.png", "couponInfo": { "useEndTime": 1617069600000, "totalAmount": 1000000, "couponName": "半亩花田美妆节5元优惠券", "activateEndTime": 1617069600000, "buy": "5.00", "useBeginTime": 1616464800000, "couponNo": "1463945", "fav": "5.00", "activateBeginTime": 1616464800000, "activedAmount": 25727 }, "brandStoreSn": "10038705", "sellTimeFrom": 1566526700000, "schemeStartTime": 1616205600000, "schemeEndTime": 2145888000000, "sourceType": 0, "sellTimeTo": 1735660800000, "brandId": 1710960147, "goodsThumbUrl": "https://a.vpimg2.com/upload/merchandise/pdcvis/616365/2021/0323/32/959d3199-ec95-4d3d-9f59-464228bcd35e_750x750_50.jpg", "cat2ndId": 1021, "spuId": "SPU-06E5CC98800003F7", "storeInfo": { "storeName": "唯品自营", "storeId": "ST00000" }, "goodsMainPicture": "https://a.vpimg4.com/upload/merchandise/pdcvis/616365/2021/0323/32/959d3199-ec95-4d3d-9f59-464228bcd35e.jpg", "destUrl": "https://m.vip.com/product-1710960147-6918503738539615059.html", "categoryId": 390723, "status": 1 } ] }
返回错误码说明
错误码
错误描述
解决办法
200
返回成功
-1
数据返回失败
请查看 msg 返回提示
4001
接口秘钥不能为空
请传入接口秘钥
4002
接口秘钥出错
登录后台查看接口秘钥是否一致
4003
参数不正确
请检查参数是否符合文档要求
4004
服务已到期请及时续费
登录后台续费
4005
该接口当日调用量已超限
升级套餐
4006
无权调用该接口
升级套餐
4007
接口不存在
4009
点卡已用完
请登录控制台-服务购买-充值点卡
4010
请购买接口次数包才能调用此接口
需充值次数包
4011
次数包已用完,请重新购买
需充值次数包
4012
请求客户端ip未加入白名单
将ip加入白名单
4013
联盟账号授权已过期
请登录控制台【授权管理】下重新授权您的相关账号
4014
PID异常
请登录控制台【授权管理】-【淘宝授权】,检查您的推广位PID是否填写,或是否填写正确。
4015
系统异常
服务端处理异常,请等待......或联系网站在线客服反馈。
4017
请求拒绝
调用请求被拒绝,您的账号状态存在异常,请联系平台管理员解除限制。