功能说明和应用场景
用于向快递/快运公司下单并获取快递单号
支持预约取件、保价、代收货款、子母件、短信等增值服务
场景
电商平台、打单工具、ERP、WEB端、APP、小程序
接口信息
接口指令 |
1007 |
批量请求 |
不支持,并发不超过20次/S |
计费规则 |
按请求成功次数计算 |
接口地址 |
https://o0b.cn/anzexi |
1. 请求报文中不允许出现以下特殊字符: ' " # & + < > % \
2. 接口实时返回单号
3. 订单成功下发后接口自动订阅,当轨迹发生变化时,将调用用户推送接口发送轨迹数据
4. 订单编号OrderCode由用户自定义,不可重复;重复订单号下单,系统会报错(106状态)并返回第一次请求的结果
5. 因用户原因(如:恶意下单、批量下单长时间不发货等)导致快递公司投诉,将停用接口权限
请求示例
{
"OrderCode": "012657018199",
"ShipperCode": "SF",
"PayType": 1,
"MonthCode": "1234567890",
"ExpType": 1,
"Cost": 1.0,
"OtherCost": 1.0,
"Sender": {
"Company": "LV",
"Name": "快递鸟",
"Mobile": "15018442396",
"ProvinceName": "上海",
"CityName": "上海市",
"ExpAreaName": "青浦区",
"Address": "明珠路"
},
"Receiver": {
"Company": "GCCUI",
"Name": "Yann",
"Mobile": "15018442396",
"ProvinceName": "北京",
"CityName": "北京市",
"ExpAreaName": "朝阳区",
"Address": "三里屯街道"
},
"Commodity": [
{
"GoodsName": "鞋子",
"Goodsquantity": 1,
"GoodsWeight": 1.0
},
{
"GoodsName": "衣服",
"Goodsquantity": 1,
"GoodsWeight": 1.0
}
],
"Weight": 1.0,
"Quantity": 1,
"Volume": 0.0,
"Remark": "小心轻放"
}
返回示例
{
"EBusinessID": "1237100",
"Order": {
"OrderCode": "012657700387",
"ShipperCode": "HTKY",
"LogisticCode": "50002498503427",
"MarkDestination": "京-朝阳(京-1)",
"OriginCode": "200000",
"OriginName": "上海分拨中心",
"PackageCode": "北京"
},
"PrintTemplate":"此处省略模板HTML内容",
"Success": true,
"ResultCode": "100",
"Reason": "成功"
}