当前位置:网站首页>tmall. product. schema. Get (product information acquisition schema acquisition), Taobao store upload commodity API interface, Taobao commodity publishing interface, Taobao commodity upload API interf
tmall. product. schema. Get (product information acquisition schema acquisition), Taobao store upload commodity API interface, Taobao commodity publishing interface, Taobao commodity upload API interf
2022-07-02 14:36:00 【wx_ one billion five hundred and ninety-seven million sixty-thr】
tmall.product.schema.get( Product information acquisition schema obtain ), Taobao stores upload goods API Interface , Taobao commodity publishing interface , Upload Taobao products API Interface , Store upload interface ,oAuth2.0 The interface can be used to upload goods in stores , Store delivery , Store order details , Store plaintext interface , Order synchronization , Order push and other businesses , The following is a complete set of commodity upload interfaces , If the interface is not enough, you can find it in the open platform again , The interface is as follows :
1. taobao.itemcats.authorize.get Authorization category
2.tmall.product.schema.match( product Matching interface )
3.tmall.product.schema.get( Product information acquisition schema obtain )
4.tmall.product.schema.add( Use Schema File release a product )
5.alibaba.item.publish.props.get Product cascade attribute information acquisition
6.alibaba.item.publish.submit Update the goods
7.tmall.product.add.schema.get Get the rules involved in product release
8.alibaba.item.publish.schema.get Get the general rules for product publishing
9.alibaba.item.edit.schema.get Product editing and obtaining schema Information
10.alibaba.item.edit.submit Edit and submit products schema Information
11. alibaba.item.edit.fastupdate Product increment edit
12.taobao.items.onsale.get Get the list of products sold by the current session user
13.taobao.item.update.delisting The goods are off the shelves
14.taobao.item.quantity.update baby /SKU Inventory modification
15. alibaba.item.operate.upshelf ( Goods shelves )
The above interfaces can realize a complete commodity delivery , Upper and lower shelves , Modify inventory , Modify the price to Taobao tmall store , It can be used in multiple stores , Hope to help friends who need to upload local or database to tmall store on Taobao to deliver goods , Interface code connection is as follows :
1. Common parameters
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in , Click to get the test key and secret) |
| secret | String | yes | Call key |
| api_name | String | yes | API The name of the interface ( Included in the request address )[item_search,item_get,item_search_shop etc. ] |
| cache | String | no | [yes,no] Default yes, The cached data... Will be called , It's quite fast |
| result_type | String | no | [json,jsonu,xml,serialize,var_export] Return data format , The default is json,jsonu The output content can be read directly in Chinese |
| lang | String | no | [cn,en,ru] Translation language , Default cn Simplified Chinese |
| version | String | no | API edition |
2. Request parameters
Request parameters :api=
Parameter description : Other parameters : Refer to the interface document of Taobao open platform , It is consistent with the parameters of Taobao https://open.taobao.com/api.htm?docId=140&docType=2
name type must describe api String The interface name of Taobao open platform ( Such as :taobao.picture.upload( Upload single picture )) session String In exchange for authorization session_id [ The other parameters ] String Other parameters : Refer to the interface document of Taobao open platform , It is consistent with the parameters of Taobao
https://open.taobao.com/api.htm?docId=140&docType=2
3. Request example (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
# Request example url The default request parameters have been changed URL code
url = "https://vx19970108018/taobao/custom/?key=< Your own apiKey>&secret=< Your own apiSecret>&method="
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)4. Response example
{
"tmall_product_schema_add_response":{
"add_product_result":"<itemrule> <field id=\"product_id\" name=\" product ID\" type=\"input \">1221<\/field> <field id=\"create_time\" name=\" Creation time \" type=\"input \">2014-01-01 00:00:00<\/field> <itemrule>"
}
}边栏推荐
- STM32 library function for GPIO initialization
- Fabric. JS dynamically set font size
- Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)
- <口算练习机 方案开发原理图>口算练习机/口算宝/儿童数学宝/儿童计算器 LCD液晶显示驱动IC-VK1621B,提供技术支持
- Fabric. JS zoom canvas
- php链表创建和遍历
- Quarkus learning IV - project development to deployment
- Uniapp automated test learning
- Basic knowledge of QT original code
- Pycharm连接远程服务器
猜你喜欢

Daily learning 2

fatal: unsafe repository is owned by someone else 的解决方法

Daily learning 3

Pycharm连接远程服务器

Available solution development oral arithmetic training machine / math treasure / children's oral arithmetic treasure / intelligent math treasure LCD LCD driver ic-vk1622 (lqfp64 package), original te

YoloV6训练:训练自己数据集遇到的各种问题

Design and implementation of car query system based on php+mysql

How kaggle uses utility script

微信小程序使用towxml显示公式

Fatal: unsafe repository is owned by someone else
随机推荐
##51单片机实验之简易验证码发生器
Fabric.js 元素被选中时保持原有层级
Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
Development and design of animation surrounding mall sales website based on php+mysql
3. Function pointers and pointer functions
实现一个多进程并发的服务器
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
What is erdma? Popular science cartoon illustration
MQ tutorial | exchange (switch)
Contrôleur pour threejs cube Space Basic Controller + Inertial Control + Flight Control
Using computed in uni app solves the abnormal display of data () value in tab switching
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
《可供方案开发》口算训练机/数学宝/儿童口算宝/智能数学宝 LCD液晶显示驱动IC-VK1622(LQFP64封装),原厂技术支持
1、编辑利器vim
Fabric. JS manual bold text iText
PHP linked list creation and traversal
快解析:轻松实现共享上网
Xilinx Vivado set *. svh as SystemVerilog Header
STM32库函数进行GPIO初始化
tmall.product.schema.get( 产品信息获取schema获取 ),淘宝店铺上传商品API接口,淘宝商品发布接口,淘宝商品上传API接口,店铺上传接口,oAuth2.0接口