唯品会高佣转链(URL链接版)【升级版】
需要授权
4335人使用

根据唯品会链接生成联盟链接

如果调用接口出现 user has no union auth,requestId:genByGoodsIdWithOauth

下载“唯享客”app登录即可

备注:唯品会小程序APPID为wxe9714e742209d35f,可在微信小程序场景下跳转至唯品会小 程序商品详情

参数itemInfo=true 可返回商品基本信息,包含标题、ID、价格、佣金信息


查看详细说明
接口地址: http://api.tbk.dingdanxia.com/vip/url_privilege 在线工具 在线测试

接口支持https,非大陆服务器(含港澳台)调用接口会出现网络缓慢现象,请联系客服获取国外专线接口

请求参数、 调用方式 GET/POST

参数接口

参数类型

必填

示例

说明

apikey

string

接口秘钥,请登录后台获取

url

String

商品,活动链接url

chanTag

String

渠道标识

statParam

String

自定义渠道统计参数

itemInfo

Boolean

true

是否返回商品信息 包含商品标题、ID、价格、佣金

返回参数说明

标记

类型

例子

说明

source

String

链接生成的数据源: 如果targetType为GOODSID,该值商品id, 如果targetType为URL,该值为唯品会url, 如果targetType为VIP_SMALL和GENERAL_SAMLL时,该值为空(此类型VOP暂未开放)

url

String

CPS短链接

vipWxUrl

String

唯品会小程序链接

longUrl

String

CPS长连接

ulUrl

String

CPS通用连接

deeplinkUrl

String

CPS Deeplink链接

traFrom

String

小程序CPS参数,如果targetType为VIP_SMALL和GENERAL_SAMLL时,该参数将被赋值

noEvokeUrl

String

CPS短链接:不唤起快应用

noEvokeLongUrl

String

CPS长链接:不唤起快应用

vipQuickAppUrl

String

唯品会快应用链接

itemInfo

OBJECT

商品信息

L goodsId

String

商品ID

L goodsName

String

商品名称

L marketPrice

String

市场价(元)

L vipPrice

String

唯品价(元)

L commission

String

佣金金额(元)

L commissionRate

String

佣金比例(%)

L discount

String

折扣:唯品价/市场价 保留两位小数字符串

L goodsCarouselPictures

List<String>

商品轮播图

L goodsMainPicture

String

商品主图

L goodsDetailPictures

List<String>

商品详情图片

L brandLogoFull

String

商品品牌logo全路径地址

L goodsThumbUrl

String

商品缩略图

couponInfo

PMSCouponInfo

红包信息

L couponNo

String

优惠券批次号

L couponName

String

优惠劵名称

L buy

String

使用门槛

L fav

String

优惠金额

L activateBeginTime

Long

券激活开始时间,毫秒级时间戳

L activateEndTime

Long

券激活结束时间,毫秒级时间戳

L useBeginTime

Long

使用开始时间,毫秒级时间戳

L useEndTime

Long

使用结束时间,毫秒级时间戳

L totalAmount

Long

生成劵的总量

L activedAmount

Long

劵已激活的数量

返回示例
{"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

接口不存在

4008

signature不正

查看签名构建规则确保正确无误。

4009

点卡已用完

请登录控制台-服务购买-充值点卡

4010

请购买接口次数包才能调用此接口

需充值次数包

4011

次数包已用完,请重新购买

需充值次数包

4012

请求客户端ip未加入白名单

将ip加入白名单

4013

联盟账号授权已过期

请登录控制台【授权管理】下重新授权您的相关账号

4014

PID异常

请登录控制台【授权管理】-【淘宝授权】,检查您的推广位PID是否填写,或是否填写正确。

4015

系统异常

服务端处理异常,请等待......或联系网站在线客服反馈。

4017

请求拒绝

调用请求被拒绝,您的账号状态存在异常,请联系平台管理员解除限制。