# 淘口令转自己的新淘口令

# 接口名称

api.taobao.tkl2newtkl

# 调用方法

https://api.taobaokeapi.com/?usertoken=[usertoken]&method=api.taobao.tkl2newtkl

# 请求参数

名称 类型 必须 示例值 描述
adzone_id Number true 123 推广位id,mm_xx_xx_xx pid三段式中的第三段
site_id Number true 1 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
password_content String true ¥MvB3YEnLtCv¥ 淘口令
relation_id String 12345 渠道管理ID
special_id String 12345 会员运营ID
external_id String 12345 淘宝客外部用户标记,如自身系统账户ID;微信ID等

# 响应参数

名称 类型 示例值 描述
result RpcResult 1 result
data MaterialDto 1 data
category_id Number 1 后台一级类目
coupon_click_url String https://uland.taobao.com/coupon/edetail?e=nqUNB1NOF3Bt3vqbdXnGloankzPYmeEFkgNrw6YHQf9pZTj41Orn8MwBAs06HAOzqQomYNedOiHDYPmqkFXqLR0HgBdG%2FDDL%2F1M%2FBw7Sf%2FesGXLf%2BqX4cbeC%2F2cR0p0NlWH0%2BknxpnCJJP%2FQkZSsyo1HvKjXo4uz&pid=mm_26381042_12970066_52864659&af=1 商品优惠券推广链接
coupon_end_time String 2016-09-26 优惠券结束时间
coupon_info String 满16元减10元 优惠券面额
coupon_start_time String 2016-09-25 优惠券开始时间
item_id Number 524136796550 商品id
max_commission_rate String 20.3 佣金比率(%)
coupon_total_count Number 8000 优惠券总量
coupon_remain_count Number 6859 优惠券剩余量
mm_coupon_remain_count Number 1997 妈妈优惠券剩余量
mm_coupon_total_count Number 2000 妈妈优惠券总量
mm_coupon_click_url String https://uland.taobao.com/coupon/edetail?e=nqUNB1NOF3Bt3vqbdXnGloankzPYmeEFkgNrw6YHQf9pZTj41Orn8MwBAs06HAOzqQomYNedOiHDYPmqkFXqLR0HgBdG%2FDDL%2F1M%2FBw7Sf%2FesGXLf%2BqX4cbeC%2F2cR0p0NlWH0%2BknxpnCJJP%2FQkZSsyo1HvKjXo4uz&pid=mm_26381042_12970066_52864659&af=1 商品妈妈优惠券推广链接
mm_coupon_end_time String 2017-10-13 妈妈优惠券结束时间
mm_coupon_start_time String 2017-08-10 妈妈优惠券开始时间
mm_coupon_info String 满20元减15元 妈妈优惠券面额
coupon_type Number 1 优惠券(商品优惠券推广链接中的券)类型,1 公开券,2 私有券,3 妈妈券
item_url String https://s.click.taobao.com/t?spm=a2e2e.10720394/c.90202110.1.4399704cUUhhH0&e=m%3D2%26s%3D0NJS731SUEdw4vFB6t2Z2ueEDrYVVa64LKpWJ%2Bin0XLjf2vlNIV67uIA4kDYDopEpOjgxi0uT208hw4H8GMUew7uoRPWrIBwR7CIpaNCoiKr9WTFywb%2BCtGNFs53xi4QGSKqJrqeJvt5ArodCWjzv9fsai3uVirbXH%2BQH9e66Y4%3D 商品淘客链接
model String ¥AADPOKFz¥ password
n_tbk_item Object 淘宝客商品信息
cat_name String 女装 一级类目名称
num_iid Number 123 商品ID
title String 连衣裙 商品标题
pict_url String http://gi4.md.alicdn.com/bao/uploaded/i4/xxx.jpg 商品主图
small_images String[] http://gi4.md.alicdn.com/bao/uploaded/i4/xxx.jpg 商品小图列表
reserve_price String 102.00 商品一口价格
zk_final_price String 88.00 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价
user_type Number 1 卖家类型,0表示集市,1表示商城
provcity String 杭州 商品所在地
item_url String http://detail.m.tmall.com/item.htm?id=xxx 商品链接
seller_id Number 123 卖家id
volume Number 1 30天销量
nick String xx旗舰店 店铺名称
cat_leaf_name String 情趣内衣 叶子类目名称
is_prepay Boolean true 是否加入消费者保障
shop_dsr Number 23 店铺dsr 评分
ratesum Number 13 卖家等级
i_rfd_rate Boolean true 退款率是否低于行业均值
h_good_rate Boolean true 好评率是否高于行业均值
h_pay_rate30 Boolean true 成交转化是否高于行业均值
free_shipment Boolean true 是否包邮
material_lib_type String 1 商品库类型,支持多库类型输出,以英文逗号分隔“,”分隔,1:营销商品主推库,2. 内容商品库,如果值为空则不属于1,2这两种商品类型
presale_discount_fee_text String 付定金立减20元 预售商品-商品优惠信息
presale_tail_end_time Number 1937297392332 预售商品-付定金结束时间(毫秒)
presale_tail_start_time Number 1937297392332 预售商品-付尾款开始时间(毫秒)
presale_end_time Number 1937297392332 预售商品-付定金结束时间(毫秒)
presale_start_time Number 1937297392332 预售商品-付定金开始时间(毫秒)
presale_deposit String 100 预售商品-定金(元)
min_commission_rate String 20.8 入参special_id、relation_id、external_id时,该字段展示预估最低佣金率(%)

# 响应示例

{
    "result": {
        "data": {
            "category_id": "124242008",
            "coupon_click_url": "https://uland.taobao.com/coupon/edetail?e=FwESFOx94DoGQASttHIRqVpoHwEJMiXqyhEFsSD0BNIi%2FYmgu%2BanOk5x082Uj5i25DDIA7cAlummyMdFX2%2Bqm4vQBacu2NEx7CkNH5xtLs%2FYb%2FAofGNWbhemP0hpIIPvjDppvlX%2Bob8NlNJBuapvQ2MDg9t1zp0R6eptgdr3BKsqTObOjq3I0kMuxoRQ3C%2BHkn0EyiIo3WWie%2FpBy9wBFg%3D%3D&traceId=0b0f93f615742591354144344e&union_lens=lensId:0bb36656_0c6b_16e892813d0_7065&xId=Q9MNVmavdLo6FQeglHO3iOxX5NgIlLJw8bo6RbKHfQIImYA6h965TrMaqbdQGla9RsIuknd97329KgfZuFQQ6Y",
            "item_id": "591126471071",
            "item_url": "https://s.click.taobao.com/t?e=m%3D2%26s%3DgjOYOYZtUTxw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDkPjkFpcRfeH5x%2BIUlGKNpVcc5R%2BpIElOAu%2BvWmLDZPw8IfSYUi5ls%2BjQjUXsYRxKIz4rjZDGVMAx6s%2B056vX4aXfvvvQoI7yv1SarTXhIOTrhzfEh3ilxb3%2FtSw%2BeDyrtkYvQZuIwx3oGeIQL4Fi9FkNOi%2FOKshzCy6I%2Bl4vCAFr2b%2FArFYebbYN46UB4RKBw%3D%3D&union_lens=lensId:0bb36656_0c6b_16e892813d0_7065&xId=Q9MNVmavdLo6FQeglHO3iOxX5NgIlLJw8bo6RbKHfQIImYA6h965TrMaqbdQGla9RsIuknd97329KgfZuFQQ6Y",
            "max_commission_rate": "1.31",
            "mode": "¥YLdMYEvEjX7¥",
            "n_tbk_item": {
                "cat_leaf_name": "智能儿童手表",
                "cat_name": "智能设备",
                "item_url": "https://detail.tmall.com/item.htm?id=591126471071",
                "material_lib_type": "1",
                "nick": "360儿童旗舰店",
                "num_iid": "591126471071",
                "pict_url": "https://img.alicdn.com/bao/uploaded/i3/3382744154/O1CN01P3Ld8E1gYZpWpg3WR_!!0-item_pic.jpg",
                "presale_deposit": "0",
                "presale_end_time": "0",
                "presale_start_time": "0",
                "presale_tail_end_time": "0",
                "presale_tail_start_time": "0",
                "provcity": "上海",
                "reserve_price": "1598",
                "seller_id": "3382744154",
                "small_images": {
                    "string": [
                        "https://img.alicdn.com/i4/3382744154/O1CN018k1kIY1gYZpY7LTal_!!3382744154.jpg",
                        "https://img.alicdn.com/i4/3382744154/O1CN01btQuDX1gYZpY7L8oX_!!3382744154.jpg",
                        "https://img.alicdn.com/i3/3382744154/O1CN01ijd67Q1gYZpVGjliu_!!3382744154.jpg",
                        "https://img.alicdn.com/i3/3382744154/O1CN0111Lzmm1gYZpSUx3yK_!!3382744154.jpg"
                    ]
                },
                "title": "【官方旗舰新品】360儿童电话手表8X小学生初中生成年智能防水定位4g手机男女孩多功能支付宝wifi视频手环",
                "tmall_play_activity_end_time": "0",
                "tmall_play_activity_start_time": "0",
                "user_type": "1",
                "volume": "6102",
                "zk_final_price": "249"
            }
        }
    },
    "request_id": "ofgy4w652otx"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

# 异常示例

{
    "code": "15",
    "msg": "Remote service error",
    "sub_code": "isv.item-not-exist",
    "sub_msg": "该item_id对应宝贝已下架或非淘客宝贝",
    "request_id": "nbgpnzsgamag"
}
1
2
3
4
5
6
7

# 错误码解释

错误码 错误消息 解决方案