首页 > 淘宝客 > 淘宝客API详解4-店铺转链以及关联推荐

淘宝客API详解4-店铺转链以及关联推荐

2021-02-22 淘宝客 103 ℃ 0 评论
在推广中,如做品牌店铺推广,CMS推广等很多场景下都会推广店铺。
官方也提供了店铺推广店铺的API。本文将介绍店铺链接转换和店铺关联推荐
  • 店铺链接转换
taobao.tbk.sc.shop.convert( 淘宝客-服务商-店铺链接转换 )
店铺搜索核心有userID也就是里面的user_ids
卖家id串,用,分割,从taobao.tbk.shop.get接口获取user_id字段
也是“seller_id”,如商品详情里就有这个api
调用方式
.版本 2 .支持库 spec .子程序 店铺链接转换 .局部变量 d, 类_淘宝客 .局部变量 res, 文本型 d.初始化 (appkey, secret, session) res = d.店铺链接转换_服务商 (“110827750211”, “user_id,click_url”, , “2026450064”, , “628189716”) 调试输出 (res)
返回结果:
{"tbk_sc_shop_convert_response":{"results":{"n_tbk_shop":[{"click_url":"https:\/\/s.click.taobao.com\/t?e=m%3D2%26s%3DucZF3WZDR7gcQipKwQzePDAVflQIoZepyK8Cckff7TVRAdhuF14FMYFSHWyY6pe7t4hWD5k2kjPxHbtyqkYLdsRLSDYB0bebMQDGs9%2FU74iWmwEial84LYGgQdlextkZKe3%2FbelnU7eOJ4hmg2sGJDMrRWVrG%2F%2BLOFoNbSh0pE33gQxPwcdCbBxOmfrTeAAeO3Dj1P1PMxPGJe8N%2FwNpGw%3D%3D&union_lens=lensId:TAPI@1613971193@0b8acb38_0801_177c82dfdb4_30c5@01","user_id":628189716}]},"request_id":"52dsovyvd4li"}}
  • 店铺关联推荐
taobao.tbk.shop.recommend.get( 淘宝客-公用-店铺关联推荐 )
https://open.taobao.com/api.htm?docId=24522&docType=2&scopeId=16292
输入参卖家id,可推荐与此店铺相关联的相关店铺。
调用的方式也很简单,输入卖家ID即可,详情可看演示。
调用方式:
.版本 2 .支持库 spec .子程序 店铺关联推荐 .局部变量 d, 类_淘宝客 .局部变量 res, 文本型 d.初始化 (appkey, secret, session) res = d.店铺关联推荐查询 (“20”, “user_id,shop_title,shop_type,seller_nick,pict_url,shop_url”, , “3418028205”) 调试输出 (res)
返回结果:
{"tbk_shop_recommend_get_response":{"results":{"n_tbk_shop":[{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/8c\/67\/TB1O6mMb8smBKNjSZFFSuwT9VXa.jpg","seller_nick":"青腾鞋类专营店","shop_title":"青腾鞋类专营店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2111153775","user_id":2111153775},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/19\/38\/TB1rgjpNFXXXXbvapXXSutbFXXX.jpg","seller_nick":"法旗森旗舰店","shop_title":"法旗森旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2988865747","user_id":2988865747},{"pict_url":"","seller_nick":"吻卡佛旗舰店","shop_title":"吻卡佛旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=3425540944","user_id":3425540944},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/3b\/fe\/TB1nUw0hh9YBuNjy0FfSutIsVXa.jpg","seller_nick":"千枫旗舰店","shop_title":"千枫旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2452798167","user_id":2452798167},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/dd\/65\/TB1TnvSPFXXXXaMaXXXSutbFXXX.jpg","seller_nick":"小高罗乐乐","shop_title":"贝贝女鞋坊","shop_type":"C","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2033786125","user_id":2033786125},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/43\/b8\/TB1A5JoLFXXXXaWXXXXwu0bFXXX.png","seller_nick":"麤鹿旗舰店","shop_title":"麤鹿旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2098646906","user_id":2098646906},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/3e\/66\/TB1F08FLXXXXXa0XXXXSutbFXXX.jpg","seller_nick":"班普纳斯旗舰店","shop_title":"班普纳斯旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=1868482739","user_id":1868482739},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/3f\/af\/TB1DdfMGXXXXXXlXpXXSutbFXXX.jpg","seller_nick":"臻尚旗舰店","shop_title":"臻尚旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=1910479125","user_id":1910479125},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/46\/12\/TB1f6BWPPDpK1RjSZFrSuu78VXa.jpg","seller_nick":"蒂枫萱旗舰店","shop_title":"蒂枫萱旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2177667267","user_id":2177667267},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/db\/f0\/TB1t2f4eYsTMeJjSszhSuwGCFXa.jpg","seller_nick":"魅力恋曲旗舰店","shop_title":"魅力恋曲旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=3401074729","user_id":3401074729},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/91\/69\/TB1XEsMFf9TBuNjy1zbSutpepXa.jpg","seller_nick":"雪芸杜旗舰店","shop_title":"雪芸杜旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=3426890473","user_id":3426890473},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/9e\/d8\/TB1BXM0HXXXXXa6XVXXSutbFXXX.jpg","seller_nick":"敏的杰杰","shop_title":"敏の杰杰女鞋","shop_type":"C","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=600222195","user_id":600222195},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/a3\/98\/TB1Lg8fh8DH8KJjSspnSuvNAVXa.jpg","seller_nick":"优艾莎旗舰店","shop_title":"优艾莎旗舰店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=3504631133","user_id":3504631133},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/c8\/da\/TB1ypH.HpXXXXbgXXXXSutbFXXX.jpg","seller_nick":"倾馨鞋类专营店","shop_title":"倾馨鞋类专营店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=1759991389","user_id":1759991389},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/cd\/a3\/TB1m.KSIVXXXXXLaXXXSutbFXXX.jpg","seller_nick":"初昀鞋类专营店","shop_title":"初昀鞋类专营店","shop_type":"B","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=919718168","user_id":919718168},{"pict_url":"http:\/\/logo.taobaocdn.com\/shop-logo\/38\/11\/TB1gFP2EKuSBuNjy1XcSuwYjFXa.jpg","seller_nick":"xd9091","shop_title":"女儿城鞋铺","shop_type":"C","shop_url":"http:\/\/store.taobao.com\/shop\/view_shop.htm?user_number_id=2240205182","user_id":2240205182}]},"request_id":"oz970qybynla"}}

本文TAG:

欢迎评论

大华日记