Shopify / active_shipping

ActiveShipping is a simple shipping abstraction library extracted from Shopify
http://shopify.github.io/active_shipping
MIT License
813 stars 547 forks source link

fedex find_rates not returning all service_types #540

Open SturdyJohn opened 6 years ago

SturdyJohn commented 6 years ago

I am trying to get a rate request for FedEx Ground, however

response = fedex.find_rates(origin, destination, packages)

only returns 7 service options: FedEx First Overnight, FedEx Priority Overnight, FedEx Standard Overnight, FedEx 2 Day Am, FedEx 2 Day, FedEx Express Saver, FedEx Ground Home Delivery.

Is it possible to get a rate request for FedEx Ground?

Thank you!

gilesbowkett commented 6 years ago

hi @SturdyJohn — I had a similar issue and resolved it by specifying that I was making a commercial shipment. likewise, if I wanted Home Delivery not Ground, I had to pass in residential. if I recall correctly you can just add service_type: 'commercial' at the end of your line of code.