当前位置:网站首页>淘宝店铺发布API接口(新),淘宝oAuth2.0店铺商品API接口,淘宝商品发布API接口,淘宝商品上架API接口,一整套发布上架店铺接口对接分享
淘宝店铺发布API接口(新),淘宝oAuth2.0店铺商品API接口,淘宝商品发布API接口,淘宝商品上架API接口,一整套发布上架店铺接口对接分享
2022-07-06 23:38:00 【wx_1597063760】
淘宝店铺发布API接口(新),淘宝oAuth2.0店铺商品API接口,淘宝商品发布API接口,淘宝商品上架API接口,一整套发布上架店铺接口对接分享如下
1.公共参数
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| key | String | 是 | 调用key(必须以GET方式拼接在URL中,点击获取测试key和secret) |
| secret | String | 是 | 调用密钥 |
| api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
| cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
| result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
| lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
| version | String | 否 | API版本 |
2.商品发布步骤如下:
可参考开放平台地址:
https://open.taobao.com/docV3.htm?spm=a219a.7386797.0.0.2fc9669ar9ggq9&source=search&docId=119447&docType=1
确定已授权的类目&品牌
涉及接口:
taobao.itemcats.authorize.get( 查询商家被授权品牌列表和类目列表 )
taobao.itemcats.get( 获取后台供卖家发布商品的标准商品类目 )
3.发布
备注说明:天猫商品需要挂靠产品,所以产品发布仅支持天猫店铺;淘宝 和 特价版商品无需挂靠产品,不需要产品发布,直接发布商品即可.
涉及接口:
tmall.product.match.schema.get( 获取匹配产品规则 )
tmall.product.schema.match( product匹配接口 )
tmall.product.schema.get( 产品信息获取schema获取 )
tmall.product.add.schema.get( 产品发布规则获取接口 )
tmall.product.schema.add( 使用Schema文件发布一个产品 )
4.发布商品(编辑商品)
涉及接口:
alibaba.item.publish.schema.get(获取商品发布规则信息)
alibaba.item.publish.props.get(商品级联属性信息获取)
alibaba.item.publish.submit(商品发布)
5.商品编辑更新涉及接口
alibaba.item.edit.schema.get (商品编辑获取schema信息)
alibaba.item.edit.submit (商品编辑提交schema信息)
alibaba.item.edit.fastupdate (商品编辑增量更新)
6.请求参数
请求参数:api=
参数说明:其它参数:参考淘宝开放平台接口文档,与淘宝的参数一致 https://open.taobao.com/api.htm?docId=140&docType=2
名称 类型 必须 描述 api String 淘宝开放平台的接口名(如:taobao.picture.upload( 上传单张图片 )) session String 授权换取的session_id [其他参数] String 其它参数:参考淘宝开放平台接口文档,与淘宝的参数一致
https://open.taobao.com/api.htm?docId=140&docType=2
7.请求示例(CURL、PHP 、PHPsdk 、Java 、C# 、Python...)
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://vx19970108018/taobao/custom/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&method="
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)
边栏推荐
- LabVIEW is opening a new reference, indicating that the memory is full
- Egr-20uscm ground fault relay
- 创始人负债10亿,开课吧即将“下课”?
- DJ-ZBS2漏电继电器
- Record a pressure measurement experience summary
- Aidl and service
- 数字化创新驱动指南
- Jhok-zbg2 leakage relay
- Mysql database learning (8) -- MySQL content supplement
- QSlider of QT control style series (I)
猜你喜欢

数字化创新驱动指南

漏电继电器JOLX-GS62零序孔径Φ100

论文阅读【Sensor-Augmented Egocentric-Video Captioning with Dynamic Modal Attention】

Two person game based on bevy game engine and FPGA

Longest palindrome substring (dynamic programming)

JHOK-ZBG2漏电继电器

漏电继电器JELR-250FG

Jhok-zbl1 leakage relay

sql优化常用技巧及理解

Initial experience of annotation
随机推荐
做自媒体,有哪些免费下载视频剪辑素材的网站?
漏电继电器JOLX-GS62零序孔径Φ100
ScheduledExecutorService定时器
1. AVL tree: left-right rotation -bite
Let f (x) = Σ x^n/n^2, prove that f (x) + F (1-x) + lnxln (1-x) = Σ 1/n^2
Writing process of the first paper
Design, configuration and points for attention of network unicast (one server, multiple clients) simulation using OPNET
Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
CentOS 7.9 installing Oracle 21C Adventures
数字化如何影响工作流程自动化
张平安:加快云上数字创新,共建产业智慧生态
Timer创建定时器
Record a pressure measurement experience summary
说一说MVCC多版本并发控制器?
论文阅读【Semantic Tag Augmented XlanV Model for Video Captioning】
Vector and class copy constructors
K6el-100 leakage relay
Disk monitoring related commands
JHOK-ZBG2漏电继电器
Pytest testing framework -- data driven