Today we will show you how you can get UPS rates for a shipment and add the users choice back onto the account object.
The first thing we need to do is set the “to” and “from” address of the shipment. In the code below we get the preference details to ship from and we get the ship to address details from the account object itself. We add all this information to a queuedShipment object.
Note lines 19-23 where the Packaging Type, Unit Dimensions, Dr...
Continue reading »