当前位置:网站首页>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"
}
}
}
边栏推荐
- docker mysql
- Using computed in uni app solves the abnormal display of data () value in tab switching
- 测试框架TestNG的使用(二):testNG xml的使用
- 4、数组指针和指针数组
- 3. Function pointers and pointer functions
- PyQt5_QScrollArea内容保存成图片
- There is no solution to the decryption error of the remote user 'sa' and the service master password mapped from the remote server 'to the local user' (null) /sa '
- Fabric.js 动态设置字号大小
- Chinese science and technology from the Winter Olympics (III): the awakening and evolution of digital people
- 你知道Oracle的数据文件大小有上限么?
猜你喜欢
Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)
腾讯云 TStor 统一存储通过信通院首批文件存储基础能力评测
Tujia muniao meituan has a discount match in summer. Will it be fragrant if the threshold is low?
你知道Oracle的数据文件大小有上限么?
Analysis of CPU surge in production environment service
Penetrate the remote connection database through the Intranet
MQ教程 | Exchange(交换机)
MQ tutorial | exchange (switch)
Design and implementation of car query system based on php+mysql
Systemserver process
随机推荐
MQ教程 | Exchange(交换机)
STM32标准固件库函数名(一)
卷积神经网络(入门)
Design and implementation of car query system based on php+mysql
P1042 [noip2003 popularization group] Table Tennis
Check password
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
PHP linked list creation and traversal
C语言高级用法--函数指针:回调函数;转换表
你知道Oracle的数据文件大小有上限么?
Fabric. JS free drawing ellipse
What is erdma? Popular science cartoon illustration
P1908 reverse sequence pair
跨服务器数据访问的创建链接服务器方法
Penetrate the remote connection database through the Intranet
STM32库函数进行GPIO初始化
提示:SQL Server 阻止了对组件‘Ad Hoc Distributed Queries ‘的STATEMENT ‘OpenRowset/OpenDatasource“”
< 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
Convolutional neural network (Introduction)
Some interview suggestions for Android programmers "suggestions collection"