Skip to main content
POST
Calculate what this merchant is charged for a delivery

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials flow for external machine-to-machine integrations.

Headers

Accept-Language
string

Preferred response language when a localized representation is available.

Maximum string length: 64
Example:

"en"

Body

application/json
pickup
object
required
delivery
object
required
destinationCityCode
string
required
Pattern: ^[A-Z0-9_-]{2,32}$

Response

Current transient price estimate

What this merchant will be charged for this delivery. DropHub's carrier decision and commercial margin are internal and deliberately absent.

distanceMetres
integer<int64>
required
Required range: x >= 1
price
number<decimal>
required

The delivery price currently agreed with this merchant.

Required range: x >= 0Must be a multiple of 0.01
currency
enum<string>
required
Available options:
SAR