{{item.type_name}}:
API 市场 / 效率高转链
淘宝API 抖音API 京东API 拼多多API
入库更新API
商品列表 HOT
单品详情 HOT
定时拉取
失效商品
商品更新
基础工具API
高效转链 HOT
官方活动会场转链
商品精推素材
淘系订单查询
淘系万能解析
淘口令解析
优惠券查询
超值买返商品转链
淘礼金创建
商品评论
店铺转链
淘口令转淘口令
首单礼金商品
超级分类 HOT
我的收藏
我发布的商品
剪切板识别
淘系违规订单查询
淘系维权订单查询
搜索相关API
热搜榜
联想词
超级搜索
凯发国际搜索 HOT
热搜记录 HOT
联盟搜索 HOT
特色栏目API
官方活动
轮播图
线报
高佣精选
专辑列表
单个专辑商品列表
热门活动
活动商品
精选专题
专题商品
细分类目合集
超值买返商品
热门主播力荐商品
历史新低商品合集
单个品牌详情
品牌栏目
细分类目榜
折上折
每日半价
淘系商品历史券后价
直播好货
每日爆品推荐
凯发国际独家券商品
9.9包邮精选
咚咚抢
各大榜单 HOT
朋友圈素材
品牌库
猜你喜欢
凯发国际一红包
 

高效转链
吐槽建议
广泛主要用途设计:
通常用户在商品详情页点击分享或者自购按钮时,调用转链接口
界面阐明:
转链即将推广商品和您的标识(pid)进行绑定。推广形成订单后,即可获得佣金 (由于接口特殊性,请适量缓存已转链的链接,以达最佳效率)
接口使用攻略
使用人数: 14000+
  • 接口说明
  • 更新日志
  • 接口版本号:v1.3.1
  • 接口版本号:v1.3.0
  • 接口版本号:v1.2.0
  • 接口版本号:v1.1.1

请求地址:http://openapi.6788cn.com/api/tb-service/get-privilege-link 粘贴

需求方式英文:GET
公共参数:
请求参数: 注:post请求数据须识别程度写
返回数据:
调用示例:
String url = "http://openapi.6788cn.com/api/tb-service/get-privilege-link";
String appKey = "xxx";
String appSecret = "xxx";
TreeMap<String, String> paraMap = new TreeMap<>();
paraMap.put("version", "v1.3.1");
paraMap.put("appKey", appKey);
paraMap.put("goodsId", "530885058847");
String data = ApiClient.sendReq(url, appSecret, paraMap);

SDK调用示例
String appKey = "xxx";
String appSecret = "xxx";
DtkApiClient client = DtkApiClient.getInstance(appKey,appSecret);
DtkGetPrivilegeLinkRequest request = new DtkGetPrivilegeLinkRequest();
request.setVersion("1.3.0");
request.setGoodsId("523962011119");
request.setPid("mm_27399943_1915200219_110990500489");
request.setCouponId("34632179");
request.setChannelId("http://www.taobao.com");
request.setRebateType(0);
request.setSpecialId("123");
request.setExternalId("123");
request.setXid("123");
request.setLeftSymbol("¥");
request.setRightSymbol("¥");
DtkApiResponse < DtkGetPrivilegeLinkResponse > execute = client.execute(request);
返回示例:
{
	"status": 200,
	"data": {
		"time": 1598946537777,
		"code": 0,
		"msg": "成功",
		"data": {
			"couponClickUrl": "http://uland.taobao.com/coupon/edetail?e=LCnJWzIy8tUGQASttHIRqTYYcS2Iro4jK2%2BJI7%2F4RPB%2F6pl3MjcEubH2A8%2BEQTrjtawzeKC18AXUj7rKYxTRVth9MuaGC%2B1pWv9OAj9evKDahba4h8MrZ%2Bdth9k8bqqSHKTgBzHkoM7XTQC0vfau6E%2F9Zk7cDx8UPrKiYwdarE%2FmZlrHb6YhPHui%2Fn%2FQ7Z5VJn9Mr14cp%2FDbTe5vXEuE1A%3D%3D&traceId=0bb61b0b15989465375564715eeceb&union_lens=lensId:TAPI@1598946537@0b1545dd_0d69_17448a3f070_c015@01&activityId=08c9cbadce574e13ae6d015ec7a4dc17",
			"couponEndTime": "2020-09-02",
			"couponInfo": "满40元减5元",
			"couponStartTime": "2020-09-01",
			"itemId": "535615570326",
			"couponTotalCount": "100000",
			"couponRemainCount": "100000",
			"itemUrl": "http://s.click.taobao.com/t?e=m%3D2%26s%3Dj%2F20A0nZ2HNw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDgBi8qN29g3dlovu%2FCElQOsHfn%2FCbIhLuAxQE6vJOn1L%2BQ8vtIwWbsIspAC80QBskx8X7G7Q37BaSJpaa6H0%2BPDF4qyLP3Oqz%2F1SarTXhIOTrhzfEh3ilxbbJ2%2FqLVUXutkYvQZuIwx3oGeIQL4Fi9Gsb%2FLqJX5TW3YHgeIfcEekAtuQeASk5p8tzYMUmFOYRg%3D%3D&union_lens=lensId:TAPI@1598946537@0b1545dd_0d69_17448a3f070_c015@01",
			"tpwd": "¥dkFqcWgeSEj¥",
			"maxCommissionRate": "15.00",
			"shortUrl": "http://s.click.taobao.com/DILqywu",
			"minCommissionRate": ""
		}
	},
	"msg": "请求成功"
}
常见错误码:
{
    "msg":"服务器错误",
    "code":-1,
    "time":1554365022200
}
错误码列表:

请求地址:http://openapi.6788cn.com/api/tb-service/get-privilege-link 剪切

表单提交方法:GET
公共参数:
请求参数: 注:post请求技术指标须分别规格写
返回数据:
调用示例:
String url = "http://openapi.6788cn.com/api/tb-service/get-privilege-link";
String appKey = "xxx";
String appSecret = "xxx";
TreeMap<String, String> paraMap = new TreeMap<>();
paraMap.put("version", "v1.3.0");
paraMap.put("appKey", appKey);
paraMap.put("goodsId", "530885058847");
String data = ApiClient.sendReq(url, appSecret, paraMap);
返回示例:
{
	"status": 200,
	"data": {
		"time": 1598946537777,
		"code": 0,
		"msg": "成功",
		"data": {
			"couponClickUrl": "http://uland.taobao.com/coupon/edetail?e=LCnJWzIy8tUGQASttHIRqTYYcS2Iro4jK2%2BJI7%2F4RPB%2F6pl3MjcEubH2A8%2BEQTrjtawzeKC18AXUj7rKYxTRVth9MuaGC%2B1pWv9OAj9evKDahba4h8MrZ%2Bdth9k8bqqSHKTgBzHkoM7XTQC0vfau6E%2F9Zk7cDx8UPrKiYwdarE%2FmZlrHb6YhPHui%2Fn%2FQ7Z5VJn9Mr14cp%2FDbTe5vXEuE1A%3D%3D&traceId=0bb61b0b15989465375564715eeceb&union_lens=lensId:TAPI@1598946537@0b1545dd_0d69_17448a3f070_c015@01&activityId=08c9cbadce574e13ae6d015ec7a4dc17",
			"couponEndTime": "2020-09-02",
			"couponInfo": "满40元减5元",
			"couponStartTime": "2020-09-01",
			"itemId": "535615570326",
			"couponTotalCount": "100000",
			"couponRemainCount": "100000",
			"itemUrl": "http://s.click.taobao.com/t?e=m%3D2%26s%3Dj%2F20A0nZ2HNw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDgBi8qN29g3dlovu%2FCElQOsHfn%2FCbIhLuAxQE6vJOn1L%2BQ8vtIwWbsIspAC80QBskx8X7G7Q37BaSJpaa6H0%2BPDF4qyLP3Oqz%2F1SarTXhIOTrhzfEh3ilxbbJ2%2FqLVUXutkYvQZuIwx3oGeIQL4Fi9Gsb%2FLqJX5TW3YHgeIfcEekAtuQeASk5p8tzYMUmFOYRg%3D%3D&union_lens=lensId:TAPI@1598946537@0b1545dd_0d69_17448a3f070_c015@01",
			"tpwd": "¥dkFqcWgeSEj¥",
			"maxCommissionRate": "15.00",
			"shortUrl": "http://s.click.taobao.com/DILqywu",
			"minCommissionRate": ""
		}
	},
	"msg": "请求成功"
}
常见错误码:
{
    "msg":"服务器错误",
    "code":-1,
    "time":1554365022200
}
错误码列表:

请求地址:http://openapi.6788cn.com/api/tb-service/get-privilege-link 黏贴

明确提出原则:GET
公共参数:
请求参数: 注:恳求参数设置须区分处理长宽比写
返回数据:
调用示例:
String url = "http://openapi.6788cn.com/api/tb-service/get-privilege-link";
String appKey = "xxx";
String appSecret = "xxx";
TreeMap<String, String> paraMap = new TreeMap<>();
paraMap.put("version", "v1.2.0");
paraMap.put("appKey", appKey);
paraMap.put("goodsId", "530885058847");
String data = ApiClient.sendReq(url, appSecret, paraMap);
返回示例:
{
	"status": 200,
	"data": {
		"time": 1594008257458,
		"code": 0,
		"msg": "成功",
		"data": {
			"couponClickUrl": "http://uland.taobao.com/coupon/edetail?e=Q5FXUVdXyQwE%2BdAb1JoOOkJLT%2BXwddIFQ1tt0w%2BMqFx%2F6pl3MjcEubH2A8%2BEQTrjtawzeKC18AXUj7rKYxTRVth9MuaGC%2B1pWv9OAj9evKDahba4h8MrZ%2Bdth9k8bqqSHKTgBzHkoM7XTQC0vfau6E%2F9Zk7cDx8UPrKiYwdarE%2FmZlrHb6YhPHui%2Fn%2FQ7Z5VM1RxKHWaxdvbTe5vXEuE1A%3D%3D&traceId=0b0ff2de15940082573185997e&union_lens=lensId:TAPI@1594008257@0b084647_0dd0_173224bc342_791f@01&xId=3JhuN2ncwTGpR058l0DX1HWSLWZK894jgZATbANNYe9CE8kQaXkYXN78O5OlqDjdG99fBjjGRKMO7oC7IgKGoaOiemroalDrlB04SB7TfI4r&activityId=e0e11a2e17fd4ff8bd55510e52136ce9",
			"couponEndTime": "2020-07-08",
			"couponInfo": "满42元减10元",
			"couponStartTime": "2020-07-06",
			"itemId": "612435854871",
			"couponTotalCount": "50000",
			"couponRemainCount": "45000",
			"itemUrl": "http://s.click.taobao.com/t?e=m%3D2%26s%3DC1YyfrYaSsVw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDgqIozdfqgnclovu%2FCElQOsHfn%2FCbIhLuAxQE6vJOn1L%2BQ8vtIwWbsIspAC80QBskx8X7G7Q37BagO7869c6y39PJu8xcyQnLv1SarTXhIOTrhzfEh3ilxbbJ2%2FqLVUXutkYvQZuIwx3oGeIQL4Fi9H%2FgHvP80qYkg%2FOsVFCwqRdAtuQeASk5p8tzYMUmFOYRg%3D%3D&union_lens=lensId:TAPI@1594008257@0b084647_0dd0_173224bc342_791f@01&xId=3JhuN2ncwTGpR058l0DX1HWSLWZK894jgZATbANNYe9CE8kQaXkYXN78O5OlqDjdG99fBjjGRKMO7oC7IgKGoaOiemroalDrlB04SB7TfI4r",
			"tpwd": "¥jPCJ1xqAuWM¥",
			"maxCommissionRate": "15.00",
			"shortUrl": "http://s.click.taobao.com/WWDCwyu",
			"minCommissionRate": ""
		}
	},
	"msg": "请求成功"
}
常见错误码:
{
    "msg":"服务器错误",
    "code":-1,
    "time":1554365022200
}
错误码列表:

请求地址:http://openapi.6788cn.com/api/tb-service/get-privilege-link 另存

post请求方案:GET
公共参数:
请求参数: 注:提起参数值须辨认深浅写
返回数据:
调用示例:
String url = "http://openapi.6788cn.com/api/tb-service/get-privilege-link";
String appKey = "xxx";
String appSecret = "xxx";
TreeMap<String, String> paraMap = new TreeMap<>();
paraMap.put("version", "v1.1.1");
paraMap.put("appKey", appKey);
paraMap.put("goodsId", "530885058847");
String data = ApiClient.sendReq(url, appSecret, paraMap);
返回示例:
{
	"time": 1562825335025,
	"code": 0,
	"msg": "成功",
	"data": {
		"couponClickUrl": "http://uland.taobao.com/coupon/edetail?e=Ei%2FSRd6Rw3sGQASttHIRqTdaDsHXMTtpeMG8Ji1zoO5jTfHRi%2FIrN%2BlmuMDII2iZ%2FASFi097%2BCOSU6IuEVIxtk4aJXRcltkaWv9OAj9evKDahba4h8MrZ%2Bdth9k8bqqSHKTgBzHkoM7XTQC0vfau6E%2F9Zk7cDx8UPY2GSU4OeGdhKq32VpkwglrmuEwmYOZU&traceId=0b01ce9815628253346013983e&union_lens=lensId:0b0b6466_0bd9_16bdfa61f60_31e5&xId=tY1oHef5wDRDL5jFXbLZwj7uqTnrSVS9r7bv6LSbshPx9SidsmOeRBMH2KT0jktPQ37qUHbdRjOWr4cZdofTS4",
		"couponEndTime": "2019-07-14",
		"couponInfo": "满65元减20元",
		"couponStartTime": "2019-07-11",
		"itemId": "557600945136",
		"couponTotalCount": "10000",
		"couponRemainCount": "10000",
		"itemUrl": "http://s.click.taobao.com/t?e=m%3D2%26s%3DCRLlBslseCNw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDqMboaSDWhVnxq3IhSJN6GRqfiF9WU5AouE%2FUJG1YTQOOGKJzdHhnZyvsjd%2BxQft6h8X7G7Q37BarTLiz9%2FRq%2BNM4rJFfofDKowe6%2FtGg2%2FRSyiL934V8t5NFJMOTFqC%2BlPFeq0Ze80KfWsUjZoD5RBLpVTy%2BXVZdXxE89EX4PxacSpj5qSCmbA%3D&union_lens=lensId:0b0b6466_0bd9_16bdfa61f60_31e5&xId=tY1oHef5wDRDL5jFXbLZwj7uqTnrSVS9r7bv6LSbshPx9SidsmOeRBMH2KT0jktPQ37qUHbdRjOWr4cZdofTS4",
		"tpwd": "¥sjhh23j¥",
		"maxCommissionRate": "20.00",
		"shortUrl": "http://s.click.taobao.com/xaulr5w"
	}
}
常见错误码:
{
    "msg":"服务器错误",
    "code":-1,
    "time":1554365022200
}
错误码列表:
利来国际AG66 d88尊龙手机 凯发国际 亚美国际娱乐 尊龙d88官网