What is rate shopping?
Rates are the cost and service levels associated with a shipment. When you want to find the best cost and service level for a shipment, you can request rates from a number of different carriers in a single call. You can then compare the results to find the option that works best for your shipment. This practice is known as rate shopping. When you create a Shipment object, rates are automatically generated for all carriers connected with your account. This can lead to a large number of rates returned for a shipment. Follow this guide to learn how to rate shop for a specific subset of your available carriers.Rate shopping for specific carriers
Capture carrier object ID
Capture the necessary carrier account object IDs. In this example,6aa34d5f6865448fbb1ee93636e98999 and 7bb1235sdsd9sds6989845497874879.
cURL
Get rates
To get rates for specific carriers, create a Shipment and specify the carriers to be used usingcarrier_accounts field in the /shipments POST request to get rates as you usually would.
carrier_accounts array.