Open Helix31522 opened 5 years ago
I am also getting the same Issue. I also got issue during international shipment for the commodities. error: fedex.base_service.FedexError: Commodities are required (Error code: 6065) Can you help me into this issue?
If you get it working please add an example for international shipment. Thanks.
I am also getting the same Issue. I also got issue during international shipment for the commodities. error: fedex.base_service.FedexError: Commodities are required (Error code: 6065) Can you help me into this issue?
If anyone else comes here with this question, here's the code sample for commodities
commodity = shipment.create_wsdl_object_of_type('Commodity')
commodity.NumberOfPieces = 1
commodity.Description = '123'
commodity.CountryOfManufacture = 'US'
commodity.Quantity = 1
commodity.QuantityUnits = 'EA'
commodity.Weight.Units = 'LB'
commodity.Weight.Value = 1.0
commodity.UnitPrice.Currency = 'USD'
commodity.UnitPrice.Amount = 1.0
commodity.CustomsValue.Currency = 'USD'
commodity.CustomsValue.Amount = 1.0
shipment.RequestedShipment.CustomsClearanceDetail.Commodities = [commodity]
shipment.RequestedShipment.CustomsClearanceDetail.CustomsValue.Currency = "USD"
shipment.RequestedShipment.CustomsClearanceDetail.CustomsValue.Amount = 1.0
shipment.RequestedShipment.CustomsClearanceDetail.DutiesPayment.PaymentType = 'SENDER'
shipment.RequestedShipment.CustomsClearanceDetail.DutiesPayment.Payor.ResponsibleParty.AccountNumber = self.CONFIG_OBJ.account_number
More info about these fields can be found in their PDF.
Regarding Time in transit - Issue still exists, but I believe it's in the API itself. Developer PDF has a US->BR ServiceAvailabilityRequest example in xml, it doesn't have any extra data, but it doesn't show transit time anyway. Tried both ways - this library and postman.
You want to add the example as a PR?
The new international shipment example may also be useful here.
Hi all,
Thanks in advance for your help. What am I missing here? I can return time in transit for ground shipments, but I am having no luck with International time in transit.
avc_request.response prints the following, but there is no transit time to pull for each service: