根据唯品会链接生成联盟链接
如果调用接口出现 user has no union auth,requestId:genByGoodsIdWithOauth
下载“唯享客”app登录即可
备注:唯品会小程序APPID为wxe9714e742209d35f,可在微信小程序场景下跳转至唯品会小 程序商品详情
参数itemInfo=true 可返回商品基本信息,包含标题、ID、价格、佣金信息
请求参数、 调用方式 GET/POST
参数接口
参数类型
必填
示例
说明
返回参数说明
标记
类型
例子
说明
返回示例
{"code":200,"msg":"请求成功【success】","data":{"noEvokeUrl":"https://t.vip.com/NqHXHCiW0s9","vipQuickAppUrl":"hap://app/com.VIP.VIPQuickAPP/pages/product/detail?productId=6918661798452982548&brandId=1710613684&tra_from=adp%3AC01V4m8sujrhjl1o%3A%3Amig_code%3A%3Aac03164m8suj000033h4bq067e9rc32c","vipWxUrl":"pages/productDetail/productDetail?brandId=1710613684&goodsId=6918661798452982548&tra_from=adp%3AC01V4m8sujrhjl1o%3A%3Amig_code%3A%3Aac03164m8suj000033h4bq067e9rc32c&chl_type=wxk","deeplinkUrl":"vipshop://showGoodsDetail?pid=6918661798452982548&goodsType=1&tra_from=tra:C01V4m8sujrhjl1o:vipj7o09:mig_code::ac03164m8suj000033h4bq067e9rc3r1&f=dx","longUrl":"https://t.vip.com/redirect.php?url=eyJzY2hlbWVjb2RlIjoibWlnX2NvZGUiLCJzaGFyZUNvZGUiOiI0bThzdWowMDAwMzNoNGJxIiwidmVuZG9yVWNvZGUiOiJlbWY4cjEycCIsIm1vbml0b3JTcG90Q29kZSI6IkMwMVY0bThzdWpyaGpsMW8iLCJhd2FrZSI6InRydWUiLCJ1Y29kZSI6ImN1cjEyOTVnIiwibWFyayI6IjJBcywyNXoscHpxMCIsImRlc3R1cmwiOiJodHRwczpcL1wvbS52aXAuY29tXC9wcm9kdWN0LTE3MTA2MTM2ODQtNjkxODY2MTc5ODQ1Mjk4MjU0OC5odG1sIiwidmVuZG9yQ29kZSI6IjdlOXJjMyJ9","source":"https://m.vip.com/product-1710613684-6918661798452982548.html","ulUrl":"https://t.vip.com/deeplink/showGoodsDetail?pid=6918661798452982548&goodsType=1&tra_from=tra:C01V4m8sujrhjl1o:vipj7o09:mig_code::ac03164m8suj000033h4bq067e9rc3r1&f=dx&cps_code=NqHXHCiW0s9&chanTag=","url":"https://t.vip.com/NqHXHCiW0s9","traFrom":"adp%3AC01V4m8sujrhjl1o%3A%3Amig_code%3A%3Aac03164m8suj000033h4bq067e9rc32c","noEvokeLongUrl":"https://t.vip.com/redirect.php?url=eyJzY2hlbWVjb2RlIjoibWlnX2NvZGUiLCJzaGFyZUNvZGUiOiI0bThzdWowMDAwMzNoNGJxIiwidmVuZG9yVWNvZGUiOiJlbWY4cjEycCIsIm1vbml0b3JTcG90Q29kZSI6IkMwMVY0bThzdWpyaGpsMW8iLCJhd2FrZSI6InRydWUiLCJ1Y29kZSI6ImN1cjEyOTVnIiwibWFyayI6IjJBcywyNXoscHpxMCIsImRlc3R1cmwiOiJodHRwczpcL1wvbS52aXAuY29tXC9wcm9kdWN0LTE3MTA2MTM2ODQtNjkxODY2MTc5ODQ1Mjk4MjU0OC5odG1sIiwidmVuZG9yQ29kZSI6IjdlOXJjMyJ9","itemInfo":{"goodsId":"6918661798452982548","goodsName":"【2020新款】荧光磨白破洞小脚翻边休闲牛仔裤","marketPrice":"599.00","vipPrice":"193.00","commission":"15.44","commissionRate":"8","discount":"0.50","couponInfo":[],"goodsCarouselPictures":["https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/960169153-1971527585845714944-1971527585845714946-1_750x750_75.jpg","https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/1606932054-1971527585845714944-1971527585845714946-2_750x750_75.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/594601152-1971527585845714944-1971527585845714946-3_750x750_75.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/1139405595-1971527585845714944-1971527585845714946-4_750x750_75.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/48298936-1971527585845714944-1971527585845714946-15_750x750_75.jpg","https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/349942073-1971527585845714944-1971527585845714946-16_750x750_75.jpg"],"goodsDetailPictures":["https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/1671954618-1971527585845714944-1971527585845714946-601.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/2128225592-1971527585845714944-1971527585845714946-602.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/1285640825-1971527585845714944-1971527585845714946-603.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/1166753415-1971527585845714944-1971527585845714946-604.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/693512268-1971527585845714944-1971527585845714946-605.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/2091305022-1971527585845714944-1971527585845714946-606.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/1878538880-1971527585845714944-1971527585845714946-607.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/1684625435-1971527585845714944-1971527585845714946-608.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/1567661769-1971527585845714944-1971527585845714946-609.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/1531121197-1971527585845714944-1971527585845714946-610.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/1715031171-1971527585845714944-1971527585845714946-611.jpg","https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/523463827-1971527585845714944-1971527585845714946-612.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/992472737-1971527585845714944-1971527585845714946-613.jpg","https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/1182538693-1971527585845714944-1971527585845714946-614.jpg","https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/1770034939-1971527585845714944-1971527585845714946-615.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/2051286385-1971527585845714944-1971527585845714946-616.jpg","https://a.vpimg2.com/upload/merchandise/pdcvop/00100319/10000547/2146724188-1971527585845714944-1971527585845714946-617.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/1687698675-1971527585845714944-1971527585845714946-618.jpg","https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/204491665-1971527585845714944-1971527585845714946-619.jpg","https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/398789859-1971527585845714944-1971527585845714946-620.jpg","https://a.vpimg3.com/upload/merchandise/ugcaudit/2019/09/03/142/8d584674-ce37-11e9-9e3e-02020ad4977c.jpg"],"brandLogoFull":"http://a.vpimg3.com/upload/brandcool/0/LOGO/10000547/6caa8eff71774cf6b8eaaf910974256e/primary.png","goodsThumbUrl":"https://a.vpimg4.com/upload/merchandise/pdcvop/00100319/10000547/960169153-1971527585845714944-1971527585845714946-1_750x750_50.jpg","goodsMainPicture":"https://a.vpimg3.com/upload/merchandise/pdcvop/00100319/10000547/960169153-1971527585845714944-1971527585845714946-1.jpg"}}}
返回错误码说明
错误码
错误描述
解决办法
200
返回成功
-1
数据返回失败
请查看 msg 返回提示
4001
接口秘钥不能为空
请传入接口秘钥
4002
接口秘钥出错
登录后台查看接口秘钥是否一致
4003
参数不正确
请检查参数是否符合文档要求
4004
服务已到期请及时续费
登录后台续费
4005
该接口当日调用量已超限
升级套餐
4006
无权调用该接口
升级套餐
4007
接口不存在
4009
点卡已用完
请登录控制台-服务购买-充值点卡
4010
请购买接口次数包才能调用此接口
需充值次数包
4011
次数包已用完,请重新购买
需充值次数包
4012
请求客户端ip未加入白名单
将ip加入白名单
4013
联盟账号授权已过期
请登录控制台【授权管理】下重新授权您的相关账号
4014
PID异常
请登录控制台【授权管理】-【淘宝授权】,检查您的推广位PID是否填写,或是否填写正确。
4015
系统异常
服务端处理异常,请等待......或联系网站在线客服反馈。
4017
请求拒绝
调用请求被拒绝,您的账号状态存在异常,请联系平台管理员解除限制。