Get shipping rates between two locations for up to twenty five packages
The Core.DTO.GetShopRatesRequest rate request with all shipment properties.
curl -i -X POST \
https://sandbox.bikeflights.com/api/ShopRate \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"shopName": "TestShop",
"stage": {
"dateType": "S",
"actionDate": "2025-04-24",
"stage": 0,
"from": {
"firstName": "Travis",
"lastName": "Hawkins",
"phoneNumber": "+15555555555",
"address1": "701 Maple St",
"city": "San Mateo",
"state": "CA",
"postalCode": "94401",
"countryCode": "US",
"isResidential": true,
"passedAvs": true
},
"to": {
"company": "Bikeflights",
"firstName": "William",
"lastName": "Alcorn",
"phoneNumber": "+18885555555",
"address1": "3505 Calle Cuervo",
"address2": "#315",
"city": "Albuquerque",
"state": "NM",
"postalCode": "87124",
"countryCode": "US",
"isResidential": true,
"passedAvs": true
},
"isPickup": true
},
"purposeCode": "4001",
"packages": [
{
"name": "Custom",
"length": 45,
"height": 30,
"width": 12,
"linearUnit": "IN",
"weight": 65,
"weightUnit": "LB",
"value": 1000,
"coverage": 1000,
"protectionFee": 0,
"contentCode": "8000",
"insideDescription": "Theres a bike in the box",
"outsideDescription": "Cardboard box with bikeflights logo"
}
]
}'
{ "rates": [ { … }, { … }, { … } ], "requestId": "ZdZ1bL97kQQg4mhXXrPX" }