# 商品id直接转淘口令

# 接口名称

api.taobao.id2tkl

# 调用方法

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

# 请求参数

名称 类型 必须 示例值 描述
adzone_id Number true 123 推广位id,mm_xx_xx_xx pid三段式中的第三段
site_id Number true 1 备案的网站id, mm_xx_xx_xx pid三段式中的第二段
item_id Number true 597610196322 商品ID
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 商品淘客链接
mode 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=mVQtpRGSxpEGQASttHIRqX1jICK6BzT3JFclTxNRT%2Bsi%2FYmgu%2BanOk5x082Uj5i25DDIA7cAlummyMdFX2%2Bqm4vQBacu2NEx7CkNH5xtLs%2FYb%2FAofGNWbhemP0hpIIPvjDppvlX%2Bob8NlNJBuapvQ2MDg9t1zp0R6eptgdr3BKsqTObOjq3I0kMuxoRQ3C%2BHh5GR7%2FlXR%2F6ie%2FpBy9wBFg%3D%3D&traceId=0b0ae26515742594398601944e&union_lens=lensId:0b57b5a6_0c91_16e892cb911_81db&xId=FztmgKdObbegXSbxZQ2HAIPfYF0NonPO2bHOdUaBzKfuex5wijwyAMP4aHLrKKN4qcVh8RQ1X4ZLTP4R6conC4",
            "item_id": "597610196322",
            "item_url": "https://s.click.taobao.com/t?e=m%3D2%26s%3D%2BvxB5T1h3nxw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiHLWlSKdGSYDj8QuHCFcoAB79%2FTFaMDK6Rcc5R%2BpIElOAu%2BvWmLDZPw8IfSYUi5ls%2BjQjUXsYRxKIz4rjZDGVMAxFzrBiTFzat0I0bG52fxt%2F1SarTXhIOTrhzfEh3ilxb3%2FtSw%2BeDyrtkYvQZuIwx3oGeIQL4Fi9H9DXSnM8l68xnQ1OhMpGg%2Br2b%2FArFYebbYN46UB4RKBw%3D%3D&union_lens=lensId:0b57b5a6_0c91_16e892cb911_81db&xId=FztmgKdObbegXSbxZQ2HAIPfYF0NonPO2bHOdUaBzKfuex5wijwyAMP4aHLrKKN4qcVh8RQ1X4ZLTP4R6conC4",
            "max_commission_rate": "3.25",
            "mode": "¥YXMyYEvBOXU¥",
            "n_tbk_item": {
                "cat_leaf_name": "智能手环",
                "cat_name": "智能设备",
                "item_url": "https://detail.tmall.com/item.htm?id=597610196322",
                "material_lib_type": "1",
                "nick": "荣耀官方旗舰店",
                "num_iid": "597610196322",
                "pict_url": "https://img.alicdn.com/bao/uploaded/i2/1114511827/O1CN017dehtJ1PMoBXJhigi_!!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": "189",
                "seller_id": "1114511827",
                "small_images": {
                    "string": [
                        "https://img.alicdn.com/i2/1114511827/O1CN01L49QD81PMoBSqBLVH_!!1114511827.jpg",
                        "https://img.alicdn.com/i1/1114511827/O1CN01DpZZpF1PMo9n1Fg91_!!0-item_pic.jpg",
                        "https://img.alicdn.com/i2/1114511827/O1CN01hapBO01PMoA741Xtz_!!1114511827.jpg",
                        "https://img.alicdn.com/i1/1114511827/O1CN019MBWpm1PMo9qtCq9Y_!!1114511827.jpg"
                    ]
                },
                "title": "华为旗下HONOR/荣耀手环5 新品NFC血氧监测4代升级智能运动手表移动支付睡眠计步遥控自拍",
                "tmall_play_activity_end_time": "0",
                "tmall_play_activity_start_time": "0",
                "user_type": "1",
                "volume": "19758",
                "zk_final_price": "179"
            }
        }
    },
    "request_id": "3vfo4zipadim"
}
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.pid-not-correct",
    "sub_msg": "请检查site_id和adzone_id是否匹配",
    "request_id": "571i865tee0z"
}
1
2
3
4
5
6
7

# 错误码解释

错误码 错误消息 解决方案