当前位置:网站首页>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"
}
}
}
边栏推荐
- 2、const 型指针
- < schéma de développement de la machine d'exercice oral > machine d'exercice oral / trésor d'exercice oral / trésor de mathématiques pour enfants / lecteur LCD de calculatrice pour enfants IC - vk1621
- Fabric.js 缩放画布
- Custom events, global event bus, message subscription and publishing, $nexttick
- uniapp自动化测试学习
- socket(套接字)与socket地址
- 4. Array pointer and pointer array
- Packet capturing tool Fiddler learning
- 数据湖(十一):Iceberg表数据组织与查询
- Daily learning 2
猜你喜欢

mathML转latex

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

Chinese science and technology from the Winter Olympics (III): the awakening and evolution of digital people
![[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)

【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境

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

QT new project

YOLOv3&YOLOv5输出结果说明

PyQt5_ Qscrollarea content is saved as a picture

报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
随机推荐
Borui data integrated intelligent observable platform was selected into the "Yunyuan production catalogue" of China Academy of communications in 2022
复用和分用
[to be continued] [UE4 notes] l5ue4 model import
富文本编辑器添加矢量公式(MathType for TinyMCE ,可视化添加)
PTA question bank== > complex four operations, one for one, examination seat number (7-73)
Fabric.js 自由绘制圆形
3. Function pointers and pointer functions
Why can't browsers read JSX?
每日学习2
QT new project
Tujia muniao meituan has a discount match in summer. Will it be fragrant if the threshold is low?
Yyds dry goods inventory software encryption lock function
taobao.trade.get( 获取单笔交易的部分信息),淘宝店铺订单接口,淘宝oAuth2.0接口,淘宝R2接口代码对接分享
Convolutional neural network (Introduction)
Pychart connects to the remote server
Fabric.js 上划线、中划线(删除线)、下划线
##51单片机实验之简易验证码发生器
The evolution process of the correct implementation principle of redis distributed lock and the summary of redison's actual combat
Generally speaking, if the error of inconsistent tab and space occurs frequently
Solving the longest subsequence with linear DP -- three questions