当前位置:网站首页>taobao. trade. memo. Add (add remarks to a transaction) interface, Taobao store flag insertion interface, Taobao order flag insertion API interface, oauth2.0 interface
taobao. trade. memo. Add (add remarks to a transaction) interface, Taobao store flag insertion interface, Taobao order flag insertion API interface, oauth2.0 interface
2022-07-02 14:35:00 【wx_ one billion five hundred and ninety-seven million sixty-thr】
taobao.trade.memo.add( Add notes to a transaction ) Interface , Taobao store flag insertion interface , Taobao orders are flagged API Interface ,oAuth2.0 The interface is used for Taobao store order comments , Order flag insertion interface , A complete set of interfaces for order delivery :
1、taobao.trades.sold.get , This interface is mainly used to query the seller's order list , Show it to the seller .
2、taobao.trade.get , This interface is mainly used to query the details of the order , Show it to the seller .
3、taobao.trade.memo.add , My software contains the function of adding notes , You need to add notes to the order
4、taobao.logistics.offline.send, I need to carry out logistics and delivery operations for orders
5、taobao.refunds.receive.get, Query cancellation order , To stop delivery
Interface docking can help friends who need to make orders and deliver goods in Taobao stores , 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. Response parameter
4. 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)5. Response example
{
"trade_memo_add_response":{
"trade":{
"tid":2231958349,
"created":"2000-01-01 00:00:00"
}
}
}
边栏推荐
- STM32标准固件库函数名(一)
- 关于Flink框架窗口(window)函数最全解析
- Quarkus learning IV - project development to deployment
- A white hole formed by antineutrons produced by particle accelerators
- Yyds dry goods inventory software encryption lock function
- 博睿数据一体化智能可观测平台入选中国信通院2022年“云原生产品名录”
- fatal: unsafe repository is owned by someone else 的解决方法
- 抓包工具fiddler学习
- Pycharm连接远程服务器
- [QNX Hypervisor 2.2用户手册]6.3 Guest与外部之间通信
猜你喜欢

STM32库函数进行GPIO初始化
![[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)](/img/e0/e9cb42f241a60995d4598ba6a1a2fe.jpg)
[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)

Quick analysis: easy to share the Internet

Default slot, named slot, scope slot

Development and design of animation surrounding mall sales website based on php+mysql

提示:SQL Server 阻止了对组件‘Ad Hoc Distributed Queries ‘的STATEMENT ‘OpenRowset/OpenDatasource“”

跨服务器数据访问的创建链接服务器方法

Packet capturing tool Fiddler learning

每日学习3

Pychart connects to the remote server
随机推荐
[Hongke technology sharing] how to test DNS server: DNS performance and response time test
NLA natural language analysis makes data analysis more intelligent
[development environment] StarUML tool (download software | StarUML installation | StarUML creation project)
4、数组指针和指针数组
Daily learning 2
Chapter 9: xshell free version installation
跨服务器数据访问的创建链接服务器方法
PTA question bank== > complex four operations, one for one, examination seat number (7-73)
Fabric. JS free drawing ellipse
taobao.trades.sold.get-查询卖家已卖出的交易数据(根据创建时间),淘宝店铺卖出订单查询API接口,淘宝R2接口,淘宝oAuth2.0交易接口代码分享
数据库连接池和数据源
threejs的控制器 立方体空间 基本控制器+惯性控制+飞行控制
Uniapp automated test learning
Chinese science and technology from the Winter Olympics (III): the awakening and evolution of digital people
C语言高级用法--函数指针:回调函数;转换表
QT new project
Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)
Who is better, Qianyuan projection Xiaoming Q1 pro or Jimi new play? Which configuration is higher than haqu K1?
< 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
OpenCV调用USB摄像头的点滴