For a shipment, find the lowest cost and fasest shipping option based on provided parameters.
A unique identifier for the shipment. This is used for future reference and must be unique.
The time-in-transit limit for a shipment. If no limit, set as null or don't set at all.
The dimensions and weight of the package being shipped. Add this object if you do not want String to find a package size for you.
Returns 'LEAST COST FULFILLMENT' if the shipment is the least cost fulfillment option. Returns 'NEEDS MANUAL PROCESSING' if String failed to find a shipping configuration.
An array of comments with detailed information about the prediction String just made. First comment includes the carrier, service code, account, cost, and package
Find the smallest package(s) all items in an order can fit into.