- 增加物流公司自定义对接,可将ECPP订单提交到自定义对接系统中
1.快递规则–物流对应—物流对接表中设置物流公司名,对应carriername,物流系统中客户身份认证token,提交订单/获取标签/非即时需要后获取跟踪号接口网址
2.添加物流方式后设置carriername及物流代码,非即时返回跟踪号需要后获取跟踪号的渠道需添加对应渠道至对应表中
3.添加物流对接处理权限
4.在物流订单处理中下来选择对应物流搜索后选择订单进行操作
接口数据定义:
1): 提交订单采用Post方式,提交数据在data字段,格式为json,数据格式为:
{“token”:”****”,”ecppsn”:”QD14040200154″,”platformsn”:”533b939454a6a9527a778f64″,”Weight”:”0.000″,”Country”:”FR”,”Battery”:”0″,”Consignee”:”Maxwel zimny”,”Province”:”Arizona”,”City”:”Surprise”,”street1″:”11656 n 164th drive”,”street2″:”",”Postcode”:”85388″,”Phone”:”",”Channel”:null,”warehouse”:null,”remark”:”",”Product”:[{"Name":"ttt","CnName":"中文品名","SKU":"101838","Quantity":"1","Price":"2","Code":null,"Note":"=1"}]}
字段说明:
token:物流系统中客户身份校验码
ecppsn:ECPP系统订单号
platformsn:平台订单号
Weight:订单重量
Battery:是否含电(1或0)
Consignee/Province/City/street1/street2/Postcode/Phone/Country 为客户地址对应信息,请注意Country提交为国家二字码
Channel 渠道物流代码
warehouse 仓库代码
remark 订单备注
Product 为产品节点,可包含多个产品
Name 申报品名
CnName 申报品名中文
SKU 产品编码
Quantity 产品数量
Price 申报价值
Code 海关编码
Note 配货信息
物流系统返回信息请遵循以下格式 正常返回:{“Success”:true,”TrackNo”:”test123456″}或 错误返回:{“Success”:false,”error_msg”:”token error”}
2)获取标签提交数据格式:{“orders”:["QD14040200154","QD14040200153"],”token”:”****”},orders为提交的ECPP系统订单号集合,返回数据请遵循格式正常返回:{“Success”:true,”pdfurl”:”http://www.***.com/aaa.pdf”}或 错误返回:{“Success”:false,”error_msg”:”token error”}.
3)获取跟踪号提交数据格式为:{“ecppsn”:”QD14040200154″,”token”:”****”},ecppsn为需要获取跟踪号的订单ECPP系统订单号,返回信息请遵循以下格式 正常返回:{“Success”:true,”TrackNo”:”test123456″}或 错误返回:{“Success”:false,”error_msg”:”token error”}
- 敦煌对接增加标记发货,请在快递规则中增加对应的DHgate_code,对应值如下:
[0] => stdClass Object ( [shippingTypeId] => 139Express [name] => 139Express [description] => ) [1] => stdClass Object ( [shippingTypeId] => ARAMEX [name] => ARAMEX [description] => ARAMEX ) [2] => stdClass Object ( [shippingTypeId] => Aramex-Online Shipping [name] => Aramex-Online Shipping [description] => ) [3] => stdClass Object ( [shippingTypeId] => CACESA-Online Shipping [name] => CACESA-Online Shipping [description] => ) [4] => stdClass Object ( [shippingTypeId] => China Eastern European Post [name] => China Eastern European Post [description] => ) [5] => stdClass Object ( [shippingTypeId] => CHINAPOSTAIR [name] => China Post Air [description] => China Post Air ) [6] => stdClass Object ( [shippingTypeId] => China Post Air Mail [name] => China Post Air Mail [description] => 中国邮政航空小包 ) [7] => stdClass Object ( [shippingTypeId] => China Post Air Maill-Online [name] => China Post Air Maill-Online [description] => ) [8] => stdClass Object ( [shippingTypeId] => CHINAPOSTSAL [name] => China Post SAL [description] => China Post SAL ) [9] => stdClass Object ( [shippingTypeId] => CHINA_POST_SAL_MAIL [name] => China Post SAL Mail [description] => China Post SAL Mail ) [10] => stdClass Object ( [shippingTypeId] => CNE [name] => CNE [description] => CNE ) [11] => stdClass Object ( [shippingTypeId] => DHL [name] => DHL [description] => DHL ) [12] => stdClass Object ( [shippingTypeId] => DHL Global mail [name] => DHL Global mail [description] => ) [13] => stdClass Object ( [shippingTypeId] => DHL- Abroad Delivery [name] => DHL- Abroad Delivery [description] => DHL海外发货 ) [14] => stdClass Object ( [shippingTypeId] => DHL-Online Shipping [name] => DHL-Online Shipping [description] => ) [15] => stdClass Object ( [shippingTypeId] => DHLINK_P_Gate [name] => DHLink Express [description] => ) [16] => stdClass Object ( [shippingTypeId] => DNJ [name] => DNJ [description] => DNJ ) [17] => stdClass Object ( [shippingTypeId] => DPD [name] => DPD [description] => DPD ) [18] => stdClass Object ( [shippingTypeId] => TOLL [name] => DPEX [description] => TOLL ) [19] => stdClass Object ( [shippingTypeId] => TOLL-Online Shipping [name] => DPEX-Online Shipping [description] => ) [20] => stdClass Object ( [shippingTypeId] => EMS [name] => EMS [description] => EMS ) [21] => stdClass Object ( [shippingTypeId] => ePacket [name] => ePacket [description] => E邮宝 ) [22] => stdClass Object ( [shippingTypeId] => Equick [name] => Equick [description] => Equick ) [23] => stdClass Object ( [shippingTypeId] => Equick-express [name] => Equick-express [description] => ) [24] => stdClass Object ( [shippingTypeId] => Equick-parcel [name] => Equick-parcel [description] => ) [25] => stdClass Object ( [shippingTypeId] => Euro Business Parcel [name] => Euro Business Parcel [description] => Euro Business Parcel ) [26] => stdClass Object ( [shippingTypeId] => FEDEX [name] => FEDEX [description] => FEDEX ) [27] => stdClass Object ( [shippingTypeId] => Fedex- Abroad Delivery [name] => Fedex- Abroad Delivery [description] => Fedex海外发货 ) [28] => stdClass Object ( [shippingTypeId] => FEDEX_IE [name] => FEDEX_IE [description] => DHLink(杭州)经济快递 ) [29] => stdClass Object ( [shippingTypeId] => FEDEX_IP [name] => FEDEX_IP [description] => DHLink(杭州)优先快递 ) [30] => stdClass Object ( [shippingTypeId] => Home delivery [name] => Home delivery [description] => Home delivery ) [31] => stdClass Object ( [shippingTypeId] => HONGKONGPOST [name] => Hongkong Post [description] => HK Post(Tracking) ) [32] => stdClass Object ( [shippingTypeId] => JCEX [name] => JCEX [description] => JCEX ) [33] => stdClass Object ( [shippingTypeId] => Ocean [name] => Ocean freight [description] => 海运 ) [34] => stdClass Object ( [shippingTypeId] => PX-CSEGWAY [name] => PX-CSEGWAY [description] => ) [35] => stdClass Object ( [shippingTypeId] => RPX Express [name] => RPX Express [description] => ) [36] => stdClass Object ( [shippingTypeId] => Ruston Express [name] => Ruston Commercial-Online [description] => ) [37] => stdClass Object ( [shippingTypeId] => Ruston Express Mail [name] => Ruston russian air-Online [description] => ) [38] => stdClass Object ( [shippingTypeId] => SF European Mail-Online [name] => SF European Mail-Online [description] => ) [39] => stdClass Object ( [shippingTypeId] => SF Hybrid-EU [name] => SF Hybrid-EU [description] => ) [40] => stdClass Object ( [shippingTypeId] => SF-Express [name] => SF_Express [description] => ) [41] => stdClass Object ( [shippingTypeId] => SINGAPOREPOST [name] => Singapore post [description] => Singaporepost ) [42] => stdClass Object ( [shippingTypeId] => Sinotrans America line online [name] => Sinotrans America special line [description] => ) [43] => stdClass Object ( [shippingTypeId] => Sweden Post [name] => Sweden Post [description] => Sweden Post ) [44] => stdClass Object ( [shippingTypeId] => TNT [name] => TNT [description] => TNT ) [45] => stdClass Object ( [shippingTypeId] => TNT Economy express [name] => TNT Economy express [description] => ) [46] => stdClass Object ( [shippingTypeId] => TNT Global express [name] => TNT Global express [description] => ) [47] => stdClass Object ( [shippingTypeId] => TNT Post [name] => TNT Post [description] => TNT Post ) [48] => stdClass Object ( [shippingTypeId] => TNT- Abroad Delivery [name] => TNT- Abroad Delivery [description] => TNT海外发货 ) [49] => stdClass Object ( [shippingTypeId] => UBI Smart Parcel-Online [name] => UBI Smart Parcel-Online [description] => ) [50] => stdClass Object ( [shippingTypeId] => UPS [name] => UPS [description] => UPS ) [51] => stdClass Object ( [shippingTypeId] => UPS- Abroad Delivery [name] => UPS- Abroad Delivery [description] => UPS海外发货 ) [52] => stdClass Object ( [shippingTypeId] => UPS-Expedited [name] => UPS-Expedited [description] => ) [53] => stdClass Object ( [shippingTypeId] => UPS-Saver [name] => UPS-Saver [description] => ) [54] => stdClass Object ( [shippingTypeId] => USPS [name] => USPS [description] => USPS ) [55] => stdClass Object ( [shippingTypeId] => USPS- Abroad Delivery [name] => USPS- Abroad Delivery [description] => USPS海外发货 ) [56] => stdClass Object ( [shippingTypeId] => XRU [name] => XRU [description] => ) [57] => stdClass Object ( [shippingTypeId] => XRU-Economy [name] => XRU-Economy [description] => ) [58] => stdClass Object ( [shippingTypeId] => YANWEN [name] => YANWEN [description] => ) )
评论关闭。