当前位置:网站首页>taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
2022-07-02 11:21:00 【wx_1597063760】
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口用于淘宝店铺订单备注,订单插旗接口,一整套订单发货的接口:
1、taobao.trades.sold.get ,利用该接口主要是要查询卖家的订单列表,展示出来给卖家。
2、taobao.trade.get , 利用该接口主要是要查询订单的详情,展示给卖家。
3、taobao.trade.memo.add ,我软件中含有备注添加功能,需要给订单添加备注
4、taobao.logistics.offline.send,我需要对订单进行物流发货操作
5、taobao.refunds.receive.get,查询取消订单,来中止发货
接口对接可以帮助有需要做淘宝店铺订单发货的朋友,接口代码对接如下:
1.公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中,点击获取测试key和secret) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
2.请求参数
请求参数:api=
参数说明:其它参数:参考淘宝开放平台接口文档,与淘宝的参数一致 https://open.taobao.com/api.htm?docId=140&docType=2
名称 类型 必须 描述 api String 淘宝开放平台的接口名(如:taobao.picture.upload( 上传单张图片 )) session String 授权换取的session_id [其他参数] String 其它参数:参考淘宝开放平台接口文档,与淘宝的参数一致
https://open.taobao.com/api.htm?docId=140&docType=2
3.响应参数
4.请求示例(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
# 请求示例 url 默认请求参数已经做URL编码
url = "https://vx19970108018/taobao/custom/?key=<您自己的apiKey>&secret=<您自己的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.响应示例
{
"trade_memo_add_response":{
"trade":{
"tid":2231958349,
"created":"2000-01-01 00:00:00"
}
}
}
边栏推荐
- Use of swagger
- Pycharm连接远程服务器
- Understanding of mongodb
- 篇9:XShell免费版安装
- 千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?
- 字符串匹配问题
- Uniapp automated test learning
- Dangbei projection 4K laser projection X3 Pro received unanimous praise: 10000 yuan projector preferred
- <口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持
- 删除元素(带过渡动画)
猜你喜欢
Daily learning 2
Fabric. JS upper dash, middle dash (strikethrough), underline
Design of non main lamp: how to make intelligent lighting more "intelligent"?
途家木鸟美团夏日折扣对垒,门槛低就一定香吗?
快解析:轻松实现共享上网
STM32库函数进行GPIO初始化
In 2021, the global styrene butadiene styrene (SBS) revenue was about $3722.7 million, and it is expected to reach $5679.6 million in 2028
MySQL 45 lecture - learning the actual battle of MySQL in Geek time 45 Lecture Notes - 05 | easy to understand index (Part 2)
TeamTalk源码分析之win-client
Analysis of CPU surge in production environment service
随机推荐
NLA natural language analysis realizes zero threshold of data analysis
3. Function pointers and pointer functions
MySQL 45 lecture - learning from the actual battle of geek time MySQL 45 Lecture Notes - 04 | easy to understand index (Part 1)
[to be continued] [UE4 notes] l5ue4 model import
由粒子加速器产生的反中子形成的白洞
Convolutional neural network (Introduction)
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
In 2021, the global TCB adapter revenue was about $93 million, and it is expected to reach $315.5 million in 2028
YOLOv3&YOLOv5输出结果说明
P1908 reverse sequence pair
NLA自然语言分析实现数据分析零门槛
Stm32-dac Experiment & high frequency DAC output test
Yolov3 & yolov5 output result description
P1042 [noip2003 popularization group] Table Tennis
STM32标准固件库函数名(一)
Systemserver process
3、函数指针和指针函数
Tencent cloud tstor unified storage passed the evaluation of the first batch of basic file storage capabilities of the ICT Institute
Fabric. JS free drawing ellipse
[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)