根据商品ID查询相似推荐商品
接口最多返回40个商品,可能返回极少或不返回商品,渠道需做好兼容
接口地址:
http://api.tbk.dingdanxia.com/vip/similar_recommend
在线测试
接口支持https,非大陆服务器(含港澳台)调用接口会出现网络缓慢现象,请联系客服获取国外专线接口
请求参数、 调用方式 GET/POST
参数接口
参数类型
必填
示例
说明
返回参数说明
标记
类型
例子
说明
返回示例
{ "code": 200, "msg": "请求成功【success】", "total_results": 22, "data": [{ "marketPrice": "1119.00", "commissionRate": "3", "goodsId": "6918997109641747267", "discount": "0.25", "categoryName": "床上套件", "haiTao": 0, "cat2ndName": "床上用品", "cat1stName": "家纺布艺", "vipPrice": "269.00", "commission": "8.07", "cat1stId": 32532, "goodsName": "纯棉床上用品小清新可爱印花套件舒适亲肤全棉床单被套三/四件套", "brandName": "博洋家纺", "brandLogoFull": "http://a.vpimg3.com/upload/brandcool/0/1a3d613045d344dca6ad21dcc3f0d781/10000335/primary.png", "couponInfo": { "useEndTime": 1617156000000, "totalAmount": 1000000, "couponName": "30元优惠券", "activateEndTime": 1617156000000, "buy": "30.00", "useBeginTime": 1616464801000, "couponNo": "1471163", "fav": "30.00", "activateBeginTime": 1616464800000, "activedAmount": 3837 }, "brandStoreSn": "10000335", "sellTimeFrom": 1537860217000, "schemeStartTime": 1616205600000, "schemeEndTime": 2145888000000, "sourceType": 0, "sellTimeTo": 1735660800000, "brandId": 1710613859, "goodsThumbUrl": "https://a.vpimg2.com/upload/merchandise/pdcvis/100287/2020/1009/5/db9094a2-373b-4956-b8a3-013d885057a0_750x750_50.jpg", "cat2ndId": 441, "spuId": "SPU-0A6E38D0801007B7", "storeInfo": { "storeName": "唯品自营", "storeId": "ST00000" }, "goodsMainPicture": "https://a.vpimg2.com/upload/merchandise/pdcvis/100287/2020/1009/5/db9094a2-373b-4956-b8a3-013d885057a0.jpg", "destUrl": "https://m.vip.com/product-1710613859-6918997109641747267.html", "categoryId": 390875, "status": 1 }, { "marketPrice": "829.00", "commissionRate": "3", "goodsId": "6919054630163855491", "discount": "0.23", "categoryName": "床上套件", "haiTao": 0, "cat2ndName": "床上用品", "cat1stName": "家纺布艺", "vipPrice": "189.00", "commission": "5.67", "cat1stId": 32532, "goodsName": "纯棉清新ins印花套件舒适亲肤全棉床单被套床上用品三/四件套", "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": 5730 }, "brandStoreSn": "10000335", "sellTimeFrom": 1537860217000, "schemeStartTime": 1616205600000, "schemeEndTime": 2145888000000, "sourceType": 0, "sellTimeTo": 1735660800000, "brandId": 1710613859, "goodsThumbUrl": "https://a.vpimg4.com/upload/merchandise/pdcvis/100287/2020/1030/119/15078ba6-3f28-4270-a81f-1c8079107398_750x750_50.jpg", "cat2ndId": 441, "spuId": "SPU-0826E850800001FF", "storeInfo": { "storeName": "唯品自营", "storeId": "ST00000" }, "goodsMainPicture": "https://a.vpimg2.com/upload/merchandise/pdcvis/100287/2020/1030/119/15078ba6-3f28-4270-a81f-1c8079107398.jpg", "destUrl": "https://m.vip.com/product-1710613859-6919054630163855491.html", "categoryId": 390875, "status": 1 } ] }
返回错误码说明
错误码
错误描述
解决办法
200
返回成功
-1
数据返回失败
请查看 msg 返回提示
4001
接口秘钥不能为空
请传入接口秘钥
4002
接口秘钥出错
登录后台查看接口秘钥是否一致
4003
参数不正确
请检查参数是否符合文档要求
4004
服务已到期请及时续费
登录后台续费
4005
该接口当日调用量已超限
升级套餐
4006
无权调用该接口
升级套餐
4007
接口不存在
4009
点卡已用完
请登录控制台-服务购买-充值点卡
4010
请购买接口次数包才能调用此接口
需充值次数包
4011
次数包已用完,请重新购买
需充值次数包
4012
请求客户端ip未加入白名单
将ip加入白名单
4013
联盟账号授权已过期
请登录控制台【授权管理】下重新授权您的相关账号
4014
PID异常
请登录控制台【授权管理】-【淘宝授权】,检查您的推广位PID是否填写,或是否填写正确。
4015
系统异常
服务端处理异常,请等待......或联系网站在线客服反馈。
4017
请求拒绝
调用请求被拒绝,您的账号状态存在异常,请联系平台管理员解除限制。