You can't do it through FedEx. They use SOAP/XML for their endpoints with absolutely no client libraries or documentation to support you, but you can use Easypost to connect to FedEx today using Ruby.
to_address = EasyPost::Address.create(...) from_address = EasyPost::Address.create(...) parcel = EasyPost::Parcel.create( predefined_package: "Parcel", weight: 28 ) shipment = EasyPost::Shipment.create( to_address: to_address, from_address: from_address, parcel: parcel ) shipment.buy(shipment.lowest_rate)
Track packages across all major carriers.
Validate domestic and international addresses.
Learn how to handle international shipping seamlessly.
Shipping insurance for all items sent with EasyPost.
QALO uses EasyPost's API to automate their returns for an unbeatable customer experience.
With EasyPost's API, Expedited Passports & Visas cut their operational load in half.
Casper sped up their European launch thanks to EasyPost's support of over 30+ European carriers.
Sign up and start shipping in the same day with our Ruby Gem. If you have any questions, or if you want to talk logistics, feel free to reach out to one of our shipping experts.