当前位置:网站首页>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
}
}
}
边栏推荐
猜你喜欢
Design and implementation of car query system based on php+mysql
Default slot, named slot, scope slot
千元投影小明Q1 Pro和极米NEW Play谁更好?和哈趣K1比哪款配置更高?
抓包工具fiddler学习
How kaggle uses utility script
Fabric.js 上划线、中划线(删除线)、下划线
The use of TestNG, the testing framework (II): the use of TestNG XML
Dangbei projection 4K laser projection X3 Pro received unanimous praise: 10000 yuan projector preferred
< 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
PyQt5_ Qscrollarea content is saved as a picture
随机推荐
Fabric.js 上划线、中划线(删除线)、下划线
[Hongke technology sharing] how to test DNS server: DNS performance and response time test
Fabric. Usage of JS eraser (including recovery function)
Qt原代码基本知识
大顶堆、小顶堆与堆排序
路由(二)
博睿数据一体化智能可观测平台入选中国信通院2022年“云原生产品名录”
Custom events, global event bus, message subscription and publishing, $nexttick
Fabric.js 自由绘制圆形
3. Function pointers and pointer functions
Pycharm连接远程服务器
Fabric.js 动态设置字号大小
Quarkus学习四 - 项目开发到部署
Quick analysis: easy to share the Internet
Threejs controller cube space basic controller + inertia control + flight control
STM32标准固件库函数名(一)
PyQt5_ Qscrollarea content is saved as a picture
HMS core machine learning service helps zaful users to shop conveniently
Talk about idempotent design
Yyds dry goods inventory software encryption lock function