当前位置:网站首页>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>"
}
}边栏推荐
- docker mysql
- 3、函数指针和指针函数
- < schematic diagram of oral arithmetic exercise machine program development> oral arithmetic exercise machine / oral arithmetic treasure / children's math treasure / children's calculator LCD LCD driv
- STM32-DAC实验&高频DAC输出测试
- Talk about idempotent design
- STM32 standard firmware library function name memory (II)
- NLA自然语言分析实现数据分析零门槛
- PTA question bank== > complex four operations, one for one, examination seat number (7-73)
- Fabric. JS upper dash, middle dash (strikethrough), underline
- mathML转latex
猜你喜欢

Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)

测试框架TestNG的使用(二):testNG xml的使用

<口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持

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

The use of TestNG, the testing framework (II): the use of TestNG XML

Daily learning 3

Teamtalk source code analysis win client

《可供方案开发》口算训练机/数学宝/儿童口算宝/智能数学宝 LCD液晶显示驱动IC-VK1622(LQFP64封装),原厂技术支持

Tujia muniao meituan has a discount match in summer. Will it be fragrant if the threshold is low?

Fabric.js 上划线、中划线(删除线)、下划线
随机推荐
Fabric.js 元素被选中时保持原有层级
Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022
Design and implementation of car query system based on php+mysql
YOLOv3&YOLOv5输出结果说明
Fabric. Usage of JS eraser (including recovery function)
NLA自然语言分析实现数据分析零门槛
PHP linked list creation and traversal
How many knowledge points can a callable interface have?
Route (II)
求轮廓最大内接圆
TeamTalk源码分析之win-client
Essential elements of science fiction 3D scenes - City
篇9:XShell免费版安装
Fabric. JS dynamically set font size
What is erdma? Popular science cartoon illustration
Fabric.js 动态设置字号大小
测试框架TestNG的使用(二):testNG xml的使用
Understanding of mongodb
Fabric.js 手动加粗文本iText
Openharmony notes --------- (4)