当前位置:网站首页>taobao.logistics.dummy.send( 无需物流发货处理 )接口,淘宝店铺发货API接口,淘宝订单发货接口,淘宝r2接口,淘宝oAu2.0接口
taobao.logistics.dummy.send( 无需物流发货处理 )接口,淘宝店铺发货API接口,淘宝订单发货接口,淘宝r2接口,淘宝oAu2.0接口
2022-07-02 11:21:00 【wx_1597063760】
taobao.logistics.dummy.send( 无需物流发货处理 )接口,淘宝店铺发货API接口,淘宝r2接口,淘宝oAu2.0接口,淘宝订单发货接口,接口可适用于,店铺发货,店铺订单同步,ERP系统,订单推送,店铺上传商品等业务,希望能够帮助到有需要的朋友,代码对接如下:
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.请求示例(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)
4.响应示例
{
"logistics_dummy_send_response":{
"shipping":{
"is_success":true
}
}
}
边栏推荐
- socket(套接字)与socket地址
- MySQL 45 lecture - learning the actual battle of MySQL in Geek time 45 Lecture Notes - 05 | easy to understand index (Part 2)
- Start to write a small demo - three piece chess
- PHP linked list creation and traversal
- Yyds dry goods inventory software encryption lock function
- 关于Flink框架窗口(window)函数最全解析
- 篇9:XShell免费版安装
- docker mysql
- 1. Editing weapon VIM
- What is erdma? Popular science cartoon illustration
猜你喜欢
Default slot, named slot, scope slot
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
uniapp自动化测试学习
Custom events, global event bus, message subscription and publishing, $nexttick
博睿数据一体化智能可观测平台入选中国信通院2022年“云原生产品名录”
How kaggle uses utility script
The use of TestNG, the testing framework (II): the use of TestNG XML
Yolov3 & yolov5 output result description
STM32 library function for GPIO initialization
Development and design of animation surrounding mall sales website based on php+mysql
随机推荐
Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
Fabric. Keep the original level when JS element is selected
PyQt5_ Qscrollarea content is saved as a picture
Data Lake (11): Iceberg table data organization and query
Pycharm连接远程服务器
2. Const pointer
Design and implementation of car query system based on php+mysql
篇9:XShell免费版安装
由粒子加速器产生的反中子形成的白洞
mongodb的认识
MQ tutorial | exchange (switch)
MQ教程 | Exchange(交换机)
Certik released the defi security report in 2021, disclosing key data of industry development (PDF download link attached)
Fabric.js 元素被选中时保持原有层级
uniapp自动化测试学习
Launcher startup process
Tip: SQL Server blocked the state 'openrowset/opendatasource' of component 'ad hoc distributed queries'
STM32标准固件库函数名(一)
threejs的控制器 立方體空間 基本控制器+慣性控制+飛行控制
Fabric. JS free draw circle