We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shipper = { :name => "Developer", :company => "Sunlight", :phone_number => "555-555-5555", :address => "450 Grim Ln", :city => "York", :state => "PA", :postal_code => "17406", :country_code => "US" }
recipient = { :name => "Ty Po", :company => "Sunfarm", :phone_number => "555-555-5555", :address => "5913-C NE 127th Ave, Suite 800 Suite 800", :city => "Vancouver", :state => "WA", :postal_code => "98682", :country_code => "US", :residential => "true" }
packages = []
packages << { :weight => {:units => "LB", :value => 160}, :dimensions => {:length => 10, :width => 5, :height => 4, :units => "IN" } }
rate = fedex.rate(:shipper=>shipper, :recipient => recipient, :packages => packages, :service_type => "GROUND_HOME_DELIVERY" )
Getting Package 1 - Weight is missing or invalid error. How to insert quantity here if I have 2 same package?
The text was updated successfully, but these errors were encountered:
Reviewing your code you have the weight set to 160 lbs and looking at FedEx the weight limit maybe 150lbs. You may need to double check.
For creating a shipment with additional label the documentation does provide option using MPS. https://github.com/jazminschroeder/fedex#-generate-shipping-labels-for-multi-package-shipments-mps-
https://www.google.com/search?gl=us&hl=en&pws=0&source=hp&ei=VbwcXY_FGsS28QXvloLYDw&q=fedex+ground+weight+limit&oq=fedex+ground+weigh&gs_l=psy-ab.3.0.0l3j0i22i30l6j0i22i10i30.213.6593..8515...0.0..0.226.1958.13j5j1......0....1..gws-wiz.....0..35i39j0i20i263j0i203.Pe3_LoBen8I
Sorry, something went wrong.
No branches or pull requests
shipper = { :name => "Developer",
:company => "Sunlight",
:phone_number => "555-555-5555",
:address => "450 Grim Ln",
:city => "York",
:state => "PA",
:postal_code => "17406",
:country_code => "US" }
recipient = { :name => "Ty Po",
:company => "Sunfarm",
:phone_number => "555-555-5555",
:address => "5913-C NE 127th Ave, Suite 800 Suite 800",
:city => "Vancouver",
:state => "WA",
:postal_code => "98682",
:country_code => "US",
:residential => "true" }
packages = []
packages << {
:weight => {:units => "LB", :value => 160},
:dimensions => {:length => 10, :width => 5, :height => 4, :units => "IN" }
}
rate = fedex.rate(:shipper=>shipper,
:recipient => recipient,
:packages => packages,
:service_type => "GROUND_HOME_DELIVERY"
)
Getting Package 1 - Weight is missing or invalid error. How to insert quantity here if I have 2 same package?
The text was updated successfully, but these errors were encountered: