Deliveries
Get delivery quote
Returns the available service tiers, fares (IDR), distance, and estimated pickup / dropoff times for a pickup–dropoff pair. Quotes are returned as an array; if you omit serviceType the cheapest single tier is assumed.
post/v1/deliveries/quotes
Request
- Base URLhttps://api.dashelectric.co
- AuthHTTP bearer
Headers
x-client-time-zone'Asia/Jakarta' | 'Asia/Makassar' | 'Asia/Jayapura' required
Example:Asia/Jakarta
Timezone of the requesting client; affects scheduling.
Request body
Example request
{
"packages": [
{
"name": "Martabak Manis",
"type": "REGULAR",
"description": "kacang dan keju",
"quantity": 1,
"price": 23000,
"weight": 0.8
}
],
"origin": {
"address": "Manis Cafe & Eatery",
"coordinates": {
"latitude": -6.993894,
"longitude": 110.457499
}
},
"destination": {
"address": "Manis Cafe & Eatery",
"coordinates": {
"latitude": -6.993894,
"longitude": 110.457499
}
},
"schedule": {
"pickupTimeFrom": "2025-05-26T23:00:00+07:00",
"pickupTimeTo": "2025-05-26T23:59:59+07:00"
}
}Response
OK
Example response
{
"quotes": [
{
"service": {
"name": "Dash Instant Delivery"
},
"currency": {
"code": "IDR",
"symbol": "Rp"
},
"amount": 9000,
"distance": 499
}
],
"packages": [
{
"name": "Martabak Manis",
"type": "REGULAR",
"description": "kacang dan keju",
"quantity": 1,
"price": 23000,
"weight": 0.8
}
],
"origin": {
"address": "Manis Cafe & Eatery",
"coordinates": {
"latitude": -6.993894,
"longitude": 110.457499
}
},
"destination": {
"address": "Manis Cafe & Eatery",
"coordinates": {
"latitude": -6.993894,
"longitude": 110.457499
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.