GET /carriers
curl \
-X GET https://{workspace}.fleetrunnr.com/api/v1/carriers \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"message": "success",
"data": {
"carriers": [
{
"uuid": "a66def5d-c2bc-4cbc-9ed6-a8815d08114c",
"name": "ABC Logistics",
"avatar": "https://example.com/logo.png",
"shipping_methods": [
{
"uuid": "2beb8038-c028-480a-9d53-2eb1feea9252",
"name": "On-Demand",
"base_fee": 50,
"currency": "LBP",
"weight_threshold": 0,
"weight_surcharge": 0,
"weight_surcharge_flat": false,
"weight_unit": "kg",
"distance_threshold": 0,
"distance_surcharge": 0,
"distance_surcharge_flat": false,
"distance_unit": "km",
"volume_threshold": 0,
"volume_surcharge": 0,
"volume_surcharge_flat": false,
"volume_divisor": 1,
"volume_unit": "cm3"
},
{
"uuid": "b990bed5-f4d9-4fca-be74-7e990a4cd450",
"name": "3-Day Shipping",
"base_fee": 50,
"currency": "LBP",
"weight_threshold": 0,
"weight_surcharge": 0,
"weight_surcharge_flat": false,
"weight_unit": "kg",
"distance_threshold": 0,
"distance_surcharge": 0,
"distance_surcharge_flat": false,
"distance_unit": "km",
"volume_threshold": 0,
"volume_surcharge": 0,
"volume_surcharge_flat": false,
"volume_divisor": 1,
"volume_unit": "in3"
}
]
}
]
}
}