Estimates
Create estimates for a delivery
Last updated
Was this helpful?
Create estimates for a delivery
Last updated
Was this helpful?
/bulk-estimate/create-bulk-estimate
Array of deliveries to create an estimate for
curl -L \
--request POST \
--url 'https://test.swooveapi.com/bulk-estimate/create-bulk-estimate?app_key=text' \
--header 'Content-Type: application/json' \
--data '{"delivery_list":[{"pickup":{"type":"text","contact":{"name":null,"mobile":"text","email":null},"country_code":"GH","lat":null,"lng":null,"location":null},"dropoff":{"type":"text","contact":{"name":null,"mobile":"text","email":null},"country_code":"GH","lat":null,"lng":null,"location":null},"items":[],"vehicle_type":"MOTORCYCLE"}]}'
{
"success": true,
"code": 200,
"message": "Estimate completed",
"responses": {
"optimal_estimate": {
"estimate_type_details": {
"name": "Today",
"icon": "text"
},
"total_pricing": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"time_string": "Pickup and Delivery Tomorrow (8:00am - 04:00pm)",
"estimate_id": "text",
"selected_estimate_link": "text",
"individual_pricing": [
{
"pickup": {
"type": "text",
"contact": {
"name": null,
"mobile": "text",
"email": null
},
"country_code": "GH",
"lat": null,
"lng": null,
"location": null
},
"dropoff": {
"type": "text",
"contact": {
"name": null,
"mobile": "text",
"email": null
},
"country_code": "GH",
"lat": null,
"lng": null,
"location": null
},
"items": [],
"vehicle_type": "MOTORCYCLE",
"price_details": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"delivery_type": "SHARED"
}
]
},
"estimates": [
{
"estimate_type_details": {
"name": "Today",
"icon": "text"
},
"total_pricing": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"time_string": "Pickup and Delivery Tomorrow (8:00am - 04:00pm)",
"estimate_id": "text",
"selected_estimate_link": "text",
"individual_pricing": [
{
"pickup": {
"type": "text",
"contact": {
"name": null,
"mobile": "text",
"email": null
},
"country_code": "GH",
"lat": null,
"lng": null,
"location": null
},
"dropoff": {
"type": "text",
"contact": {
"name": null,
"mobile": "text",
"email": null
},
"country_code": "GH",
"lat": null,
"lng": null,
"location": null
},
"items": [],
"vehicle_type": "MOTORCYCLE",
"price_details": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"delivery_type": "SHARED"
}
]
}
]
}
}
Delivery Estimates Found