目前fedex 支持 restfulapi 和老的xml方式对接。
老对接方式:https://www.fedex.com/en-us/developer/web-services.html
新的对接方式:FedEx APIs and Developer Portal
新老接口在测试切生产过程中都需要面单认证过程,认证过程一致。
这里就举例老接口key获取方式.
根据官方文档先注册测试环境key 然后再获取生产环境key
注册过程中,你会收到相应邮件
拿到 Password、 Account Number、Meter Number 参数完成测试环境的接口对接,
测试环境地址:https://wsbeta.fedex.com:443/web-services,
生产环境地址:https://ws.fedex.com:443/web-services,
测试环境开发完成后,fedex需要你在测试环境打印面单,并发送到fedex认证标签邮件,进行审核。一般情况下 第二天凌晨 1,2点回复结果,毕竟时差在那。
FedEx签评估团队邮箱地址: label@fedex.com
当时博主。被多次审核不通过。具体邮件内容
FedEx Customer,
The label(s) you submitted to us have failed our certification for the following reason(s):
1. Your coversheet state that you are using thermal printer model with PDF/PNG image type of label. FedEx do not recommend to use this combination as not all thermal printers are capable of printing PDF/PNG images with required print quality. Please change image type to ZPL and print labels directly from ZPL buffer instead of using PDF/PNG or rendering image from any other way. Please submit corrected coversheet and labels printed as requested above to get certified.
2. Your coversheet states that you will be using Express, but you have submitted Ground labels for certification. please update the same in coversheet.
3. Software generated label image files cannot be used for certification. Please print the labels on label stock and share the scanned labels (scanned on flatbed scanner at 600 dpi) with us for Certification. As part of certification, we need to check how your printer is interpreting the label buffer sent by FedEx.
Once corrections have been made, please reply to this email and attach the new labels for us to certify.
If you encounter any technical difficulties/issues, please visit the FedEx Developer Resource Center and review the Business and Technical FAQs sections. You may also contact the FedEx help desk at phone number: 1-877-339-2774 (Voice Keyword: Web Services).
Until that date, you can reply to this email should you have any questions.
Thank you,
FedEx Label Certification Team
审核邮件需要提交2个附件
1、下载CertificationGuidelines.pdf (fedex.com)附件 填写信息
2、测试环境打印的面单,然后用600dpi以上的扫描面单 ,将扫描件上传。
注意:打印机型号不能瞎填,最好写激光打印机,如果输入的型号是热敏打印机,他会要求你用ZPL方式打印,
博主当时调研面单通过zpl打印被坑惨了,不如直接写个非热敏打印机。绕过此要求。
ZPL打印方式: 是斑马等快递面单特殊的打印,需要将面单信息,转化为zpl命令发送的打印机进行打印。流程复杂。需要项目代码开发调用打印进行打印。