I\'m trying to add my own shipping rates as follows:
function woocommerce_package_rates( $rates ) { // $custom_rates below are the result of a get API call