华磊科技
1身份认证
Url http://www.sz56t.com:8082/selectAuth.htm?username=TEST&password=123456
返回值:
{'customer_id':'6581','customer_userid':'6901','ack':'true'}
ack=true则代表认证成功,customer_id和customer_userid用于新建订单
2.渠道列表
http://www.sz56t.com:8082/getProductList.htm
返回
[{"product_id":"***","product_shortname":"***小包"}]
3添加订单
Url http://www.sz56t.com:8082/createOrderApi.htm?param=
Post方式提交
{"buyerid":"","consignee_address":"收件地址街道,必填","consignee_city":"城市","consignee_mobile":"","consignee_name":"收件人,必填","trade_type":"ZYXT","consignee_postcode":"邮编,有邮编的国家必填","consignee_state":"州/省","consignee_telephone":"收件电话,必填","country":"收件国家二字代码,必填","customer_id":"客户ID,必填","customer_userid":"登录人ID,必填","orderInvoiceParam":[{"invoice_amount":"申报价值,必填","invoice_pcs":"件数,必填","invoice_title":"品名,必填","invoice_weight":"单件重","item_id":"","item_transactionid":"","sku":"中文品名","sku_code":"配货信息"}],"order_customerinvoicecode":"原单号,必填","product_id":"运输方式ID,必填","weight":"总重,选填,如果sku上有单重可不填该项","product_imagepath":"图片地址,多图片地址用分号隔开"}
Trade_type可选值,请对号入座
SUMAI 速脉ERP
QQZS 全球助手
WDJL 网店精灵
IEBAY365 IEBAY365
ZYXT 客户自用系统/其他不在列表中的均使用该代码
STOMS 赛兔OMS
TTERP 通途ERP
MGDZ 芒果店长
LRERP 懒人erp
返回值
{"ack":"true","message":"如果未获取到转单号,则该列存放失败原因","reference_number":"参考号","tracking_number":"跟踪号",”order_id”:”xxxxxxx”}
4.标记发货
http://www.sz56t.com:8082/postOrderApi.htm?customer_id=**&order_customerinvoicecode=**
5.打印标签
http://www.sz56t.com:8080/order/FastRpt/PDF_NEW.aspx
参数:标签格式:format=A4_EMS_BGD.frx
打印类型:PrintType=1打印类型由以下对照表得到
需要打印的订单 order_id=308897 多个订单号以英文逗号隔开
参考URL:http://www.sz56t.com:8080/order/FastRpt/PDF_NEW.aspx?Format=A4_EMS_BGD.frx&PrintType=1&order_id=308897
示例:
参数format | 参数PrintType | 标签格式 |
A4_EMS_BGD.frx | 1 | A4中邮+报关单8*9 |
通过接口获取所有系统支持的打印类型
http://www.sz56t.com:8082/selectLabelType.htm
一键打印10*10标签(需要货代在系统设置各渠道的10*10标签)
http://www.sz56t.com:8080/order/FastRpt/PDF_NEW.aspx?PrintType=lab10_10&order_id=订单ID,多个用逗号分割。
E邮宝,E特快A4打印,返回pdf路径
http://www.sz56t.com:8082/getEUBPrintPath.htm?order_id=订单id,多个以英文逗号隔开&format=A4
E邮宝10*10不干胶打印,返回pdf路径
http://www.sz56t.com:8082/getEUBPrintPath.htm?order_id=订单id,多个以英文逗号隔开&format=10*10
6.轨迹查询
http://www.sz56t.com:8082/selectTrack.htm?documentCode=**********