1688平台本身没有电子面单,需要使用菜鸟电子面单进行取号,见文档 https://doc.fw199.com/docs/h7b/taobao-cainiao-way-bill-get-batch
注意事项
- 使用淘宝/天猫店铺作为代理取号店铺。
- 取号接口使用到的发件人信息,网点信息都是淘宝/天猫店铺的信息,不是来自1688平台中的信息。
- 取号接口中用到的收件人信息来自1688订单中买家信息。
- 对于1688订单中,取号接口中oaid字段不使用,使用caid字段代替.
一、1688订单取号请求示例
{
"cp_code": "YUNDA",
"need_encrypt": true,
"sender": {
"address": {
"city": "黄石市",
"detail": "铁山街道竟陵街道111",
"district": "铁山区",
"province": "湖北省",
"town": "铁山街道"
},
"mobile": "13478964567",
"name": "张三"
},
"trade_order_info_dtos": [
{
"object_id": "2101738407433783163",
"order_info": {
"order_channels_type": "1688",
"trade_order_list": [
"2101738407433783163"
]
},
"package_info": {
"id": "2101738407433783163",
"items": [
{
"count": 2,
"name": "阳台洗衣机下水三头通分水器烘干机排水管道四通防反水止逆阀接头"
}
]
},
"recipient": {
"address": {
"city": "铜川市",
"detail": "平息新城*楼",
"district": "耀州区",
"province": "陕西省",
"town": "正阳路街道"
},
"mobile": "189****2203",
"name": "小*",
"caid": "DECwNtbuLTxAKrDyXAP3XicVTA21icWJQ5YdQq22fibXLpDgW3cGiaLv711FwvOYficxtn2k0a9-Ds7fDFkb0UYF2zOlY3GlibQPnkeO02AJrJia4AibOIvDM7HlEib41hnoLbgsfHoO9mkPL",
"tid": "2101738407433783163"
},
"template_url": "https://cloudprint.cainiao.com/template/standard/288658/54",
"user_id": 1624961
}
]
}
文档更新时间: 2024-05-06 21:03 作者:admin