Skip to main content

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

Headers

Authorizationstringrequired
x-client-time-zonestringrequired
One of Asia/Jakarta, Asia/Makassar, Asia/Jayapura.

Parameters

serviceCategorystringoptional
One of EXPRESS, LOGISTIC. Default EXPRESS.
serviceTypestringoptional
For EXPRESS: INSTANT or SAME_DAY. For LOGISTIC: SAME_DAY.
paymentMethodstringoptional
CASH or CASHLESS. Default CASHLESS.
packages[]arrayrequired
One or more package objects. See nested fields below.
packages[].namestringrequired
Display name, e.g. "Martabak Manis".
packages[].descriptionstringoptional
Free-form description shown to the driver.
packages[].quantityintegerrequired
Item count for this package row.
packages[].priceintegeroptional
Declared total value in IDR (not unit price). Used for insurance and COD.
packages[].weightdecimalrequired
Weight in kilograms.
packages[].width / length / heightdecimaloptional
Dimensions in centimetres. Used for sizing/SLA.
originobjectrequired
Pickup location.
origin.addressstringrequired
Human-readable pickup address.
origin.coordinates.latitude / longitudedecimalrequired
WGS-84 decimal.
destinationobjectrequired
Dropoff location with the same shape as origin.
scheduleobjectoptional
Optional ISO-8601 pickup window. Max 3 days in the future. Currently EXPRESS only.
schedule.pickupTimeFrom / pickupTimeTostringconditional
Required inside schedule when present, e.g. 2025-05-26T23:59:59+07:00.

Error responses

422Lokasi pengantaran terlalu jauh. — distance SLA exceeded for the chosen tier.
404Data tipe layanan tidak ditemukanserviceType is unknown.
400Field tidak dikenali: [KEY_NAME] — unrecognised key in the request body.