当前位置:网站首页>API analysis of Taobao / tmall shipping address list and express delivery fees
API analysis of Taobao / tmall shipping address list and express delivery fees
2022-07-26 17:17:00 【Cat sharing dry goods】
Receiving address list API
buyer_address_list- Receiving address list
onebound.taobao.buyer_address_list
Common parameters
Request address : https://api-gw.onebound.cn/taobao/buyer_address_list
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in ) |
| 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 |
Request parameters
Request parameters :
Parameter description :
Response parameter
Version: Date:
| name | type | must | Example value | describe |
|---|---|---|---|---|
addressDetail | String | 0 | Renmin Road 313 Number ( Opposite the Qinhuang Restaurant ) Wanbang Technology Co., Ltd | Detailed address |
area | String | 0 | Yushui District | region |
city | String | 0 | Xinyu City | City |
fullAddress | String | 0 | Jiangxi Province / Xinyu City / Yushui District / Chengnan Street | Address information |
fullName | String | 0 | Zhang San | Name of consignee |
mobile | String | 0 | 13979008888 | Phone number |
phoneInternationalCode | String | 0 | 86 | Telephone International Code |
phone | String | 0 | 0790-6666666 | All phone numbers |
phoneCode | String | 0 | 6666666 | Phone number |
phoneSection | String | 0 | 0790 | Area code |
post | String | 0 | 338000 | Zip code |
province | String | 0 | Jiangxi Province | Province |
town | String | 0 | Chengnan Street | The town of / The street |
x | String | 0 | 27.806949 | latitude |
y | String | 0 | 114.944236 | longitude |
Request example
-- Request example url The default request parameters have been URL Encoding processing curl -i "https://api-gw.onebound.cn/taobao/buyer_address_list/?key=< Your own apiKey>&secret=< Your own apiSecret>&"
Response example
{
"data": [
{
"active": false,
"addressDetail": " Renmin Road 313 Number ( Opposite the Qinhuang Restaurant ) Wanbang Technology Co., Ltd ",
"area": " Yushui District ",
"areaDivisionCode": 360502,
"buidFromChindIframe": true,
"chinaLand": true,
"city": " Xinyu City ",
"cityDivisionCode": 360500,
"confidence": 93,
"country": "",
"countryDivisionCode": 1,
"defaultAddress": true,
"defaultCode": 1,
"deliverId": 6845502554,
"divisionCode": "360502",
"fillPoiAddress": false,
"forgin": false,
"fullAddress": " Jiangxi Province / Xinyu City / Yushui District / Chengnan Street ",
"fullName": " Zhang San ",
"gAT": false,
"gmtCreate": 1480486142000,
"gmtModified": 1495477303000,
"guoguoAddress": false,
"hKOrMacauOrTW": false,
"helpBuyAddress": false,
"illegalCunTaoAddress": false,
"isPoiAddress": false,
"kinshipDeliverAddress": false,
"lastChoose": false,
"locationEnable": false,
"mobile": "13979008888",
"mobileCode": "86",
"needToUpgrade": false,
"needUpgrade": false,
"overSea": false,
"phone": "0790-6666666",
"phoneCode": "6666666",
"phoneInternationalCode": "86",
"phoneSection": "0790",
"post": "338000",
"provDivisionCode": 360000,
"province": " Jiangxi Province ",
"tAIWAN": false,
"town": " Chengnan Street ",
"townDivisionCode": 360502001,
"userNumId": 2601011849,
"x": "27.806949",
"y": "114.944236"
},
{
"active": false,
"addressDetail": " Kangtai road 62 Number Rose community 6 period ",
"area": " Yushui District ",
"areaDivisionCode": 360502,
"buidFromChindIframe": true,
"chinaLand": true,
"city": " Xinyu City ",
"cityDivisionCode": 360500,
"confidence": 98,
"country": "",
"countryDivisionCode": 1,
"defaultAddress": false,
"defaultCode": 0,
"deliverId": 6375759746,
"divisionCode": "360502",
"fillPoiAddress": false,
"forgin": false,
"fullAddress": " Jiangxi Province / Xinyu City / Yushui District / Chengnan Street ",
"fullName": " Li Si ",
"gAT": false,
"gmtCreate": 1465220621000,
"gmtModified": 1495681978000,
"guoguoAddress": false,
"hKOrMacauOrTW": false,
"helpBuyAddress": false,
"illegalCunTaoAddress": false,
"isPoiAddress": false,
"kinshipDeliverAddress": false,
"lastChoose": false,
"locationEnable": false,
"mobile": "13979008888",
"mobileCode": "86",
"needToUpgrade": false,
"needUpgrade": false,
"overSea": false,
"post": "338000",
"provDivisionCode": 360000,
"province": " Jiangxi Province ",
"tAIWAN": false,
"town": " Chengnan Street ",
"townDivisionCode": 360502001,
"userNumId": 2601011849,
"x": "27.79764",
"y": "114.950212"
}
],
"from": "taobao",
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:7 max:10000",
"execution_time": 0.704,
"server_time": "Beijing/2021-03-16 10:47:24",
"client_ip": "127.0.0.1",
"call_args": [],
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "google_cn",
"server_memory": "5.5MB",
"request_id": "0.60501c3b778b7"
}Exception example
Related information
Error code interpretation
| The status code (error_code) | State information | Detailed description | Do you charge? |
|---|---|---|---|
| 0000 | success | The interface call succeeds and returns relevant data | yes |
| 2000 | Search success but no result | Interface access successful , But the search has no results | yes |
| 4000 | Server internal error | Server internal error | no |
| 4001 | Network error | Network error | no |
| 4002 | Target server error | Target server error | no |
| 4003 | Param error | User input parameter error | Ignore |
| 4004 | Account not found | User account does not exist | Ignore |
| 4005 | Invalid authentication credentials | privilege grant failed | Ignore |
| 4006 | API stopped | Your current API deactivated | Ignore |
| 4007 | Account stopped | Your account has been deactivated | Ignore |
| 4008 | API rate limit exceeded | Concurrency has reached the maximum | Ignore |
| 4009 | API maintenance | API In maintenance | Ignore |
| 4010 | API not found with these values | API non-existent | Ignore |
| 4012 | Please add api first | Please add it first api | Ignore |
| 4013 | Number of calls exceeded | The number of calls exceeds the limit | Ignore |
| 4014 | Missing url param | Missing parameter | Ignore |
| 4015 | Wrong pageToken | Parameters pageToken Mistake | Ignore |
| 4016 | Insufficient balance | Lack of balance | Ignore |
| 4017 | timeout error | request timeout | no |
| 5000 | unknown error | Unknown error | no |
Express delivery expenses of Taobao products API
item_fee- Get the express fee of Taobao products Go to obtain key and secret
onebound.taobao.item_fee
Common parameters
Request address : https://api-gw.onebound.cn/taobao/item_fee
| name | type | must | describe |
|---|---|---|---|
| key | String | yes | call key( Must be GET Way of splicing in URL in ) |
| 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 |
Request parameters
Request parameters :num_iid=572050066584&area_id=152501&sku=0
Parameter description :num_iid: Taobao products ID
area_id: Area ID
sku: Return to the specified area SKU Information
Response parameter
Version: Date:
| name | type | must | Example value | describe |
|---|---|---|---|---|
num_iid | Bigint | 0 | 572050066584 | baby ID |
area_id | int | 0 | 152501 | Area ID |
location | String | 0 | Guangdong guangzhou | Place of shipment |
shipping_to | String | 0 | Erlianhot City, Xilin Gol, Inner Mongolia | Ship to |
express_fee | Float | 0 | 6.00 | Express fee |
ems_fee | Float | 0 | 6.00 | EMS cost |
post_fee | Float | 0 | 6.00 | Logistics expenses |
Request example
-- Request example url The default request parameters have been URL Encoding processing curl -i "https://api-gw.onebound.cn/taobao/item_fee/?key=< Your own apiKey>&secret=< Your own apiSecret>&num_iid=572050066584&area_id=152501&sku=0"
Response example
Exception example
Related information
Error code interpretation
| The status code (error_code) | State information | Detailed description | Do you charge? |
|---|---|---|---|
| 0000 | success | The interface call succeeds and returns relevant data | yes |
| 2000 | Search success but no result | Interface access successful , But the search has no results | yes |
| 4000 | Server internal error | Server internal error | no |
| 4001 | Network error | Network error | no |
| 4002 | Target server error | Target server error | no |
| 4003 | Param error | User input parameter error | Ignore |
| 4004 | Account not found | User account does not exist | Ignore |
| 4005 | Invalid authentication credentials | privilege grant failed | Ignore |
| 4006 | API stopped | Your current API deactivated | Ignore |
| 4007 | Account stopped | Your account has been deactivated | Ignore |
| 4008 | API rate limit exceeded | Concurrency has reached the maximum | Ignore |
| 4009 | API maintenance | API In maintenance | Ignore |
| 4010 | API not found with these values | API non-existent | Ignore |
| 4012 | Please add api first | Please add it first api | Ignore |
| 4013 | Number of calls exceeded | The number of calls exceeds the limit | Ignore |
| 4014 | Missing url param | Missing parameter | Ignore |
| 4015 | Wrong pageToken | Parameters pageToken Mistake | Ignore |
| 4016 | Insufficient balance | Lack of balance | Ignore |
| 4017 | timeout error | request timeout | no |
| 5000 | unknown error | Unknown error | no |
边栏推荐
- Focus on 5g and AI! Next year, zhanrui will promote 7Nm 5g chips and NPU chips!
- 2022 年有哪些流行的技术?
- How to connect tdengine with idea database tool?
- 2022-2023 信息管理毕业设计选题题目推荐
- Avalanche subnets vs. polygon supernets of application chain
- [Luogu cf643f] bears and juice (conclusion)
- 【开发教程9】疯壳·ARM功能手机-I2C教程
- 带你一分钟了解对称加密和非对称加密
- Interface comparator
- MySQL lock mechanism (example)
猜你喜欢

2022-2023 信息管理毕业设计选题题目推荐

About the difference between BigDecimal conversion string toengineeringstring, toplainstring and toString

Packet capturing and streaming software and network diagnosis

Win11自动删除文件设置方法

Chapter 1 Overview - Section 1 - 1.3 composition of the Internet

Alibaba cloud Toolkit - project one click deployment tool

【Express接收Get、Post、路由请求参数】

Small application of C language using structure to simulate election

Comparison between dimensional modeling and paradigm modeling

PyQt5快速开发与实战 3.2 布局管理入门 and 3.3 Qt Designer实战应用
随机推荐
Are CRM and ERP the same thing? What's the difference?
Implementing DDD based on ABP -- aggregation and aggregation root practice
【飞控开发基础教程2】疯壳·开源编队无人机-定时器(LED 航情灯、指示灯闪烁)
In depth exploration of ribbon load balancing
[Development Tutorial 9] crazy shell arm function mobile phone-i2c tutorial
How can win11 system be reinstalled with one click?
Mount NFS storage
限流对比:Sentinel vs Hystrix 到底怎么选?
正则表达式
机器学习-什么是机器学习、监督学习和无监督学习
Marxan model, reserve optimization and protection vacancy selection technology, application in invest ecosystem
Redis persistence - detailed analysis of RDB source code | nanny level analysis! The most complete network
SCCM tips - improve the download speed of drivers and shorten the deployment time of the system when deploying the system
TensorFlow Lite源码解析
Stop supporting Huawei! Signing 640billion 5g orders in Germany and 270billion 5g orders in the Middle East is pure nonsense!
京东三面:我要查询千万级数据量的表,怎么操作?
Redis hotspot key and big value
Guangzhou Municipal Safety Committee Office issued warnings and reminders on safety precautions in hot weather
【飞控开发基础教程1】疯壳·开源编队无人机-GPIO(LED 航情灯、信号灯控制)
Analysis of the advantages of eolink and JMeter interface testing