当前位置:网站首页>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>"
}
}
边栏推荐
- PHP linked list creation and traversal
- MQ tutorial | exchange (switch)
- fatal: unsafe repository is owned by someone else 的解决方法
- Daily learning 2
- [to be continued] [UE4 notes] l5ue4 model import
- php链表创建和遍历
- Yyds dry goods inventory software encryption lock function
- go操作redis
- Actual combat sharing of shutter screen acquisition
- docker mysql
猜你喜欢
跨服务器数据访问的创建链接服务器方法
[apipost] tutorial
【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境
Packet capturing tool Fiddler learning
<口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持
[Hongke technology sharing] how to test DNS server: DNS performance and response time test
Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)
Pycharm连接远程服务器
STM32 library function for GPIO initialization
【apipost】使用教程
随机推荐
[development environment] 010 editor tool (tool download | binary file analysis template template installation | shortcut key viewing and setting)
Golang 快速生成数据库表的 model 和 queryset
NLA自然语言分析实现数据分析零门槛
Analysis of CPU surge in production environment service
复用和分用
Thymeleaf dependency
Federated Search: all requirements in search
Methods of software testing
##51单片机实验之简易验证码发生器
Fabric.js 动态设置字号大小
【apipost】使用教程
Pychart connects to the remote server
STM32 standard firmware library function name (I)
Fatal: unsafe repository is owned by someone else
<口算练习机 方案开发原理图>口算练习机/口算宝/儿童数学宝/儿童计算器 LCD液晶显示驱动IC-VK1621B,提供技术支持
报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
PTA question bank== > complex four operations, one for one, examination seat number (7-73)
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
threejs的控制器 立方體空間 基本控制器+慣性控制+飛行控制
The evolution process of the correct implementation principle of redis distributed lock and the summary of redison's actual combat