Skip to main content

DeliveryQuote

quote_idstring<uuid>
amountnumber
Example: 46.5
currencystring
Example: GHS
breakdown object[]
  • Array [
  • itemstring

    Possible values: [base_fee, distance, time, mode, zone, surcharge, minimum, maximum, rounding]

    labelstring
    Example: 8.4 km × 2.00
    amountnumber

    Change to the running total.

  • ]
  • skippedstring[]
    route object
    distance_minteger
    duration_sinteger

    Traffic-adjusted.

    traffic_notestring
    surface_checkedboolean
    unpaved_distance_minteger
    flood_crossingsinteger
    rainstring
    tollboolean
    zonesstring[]
    pickup object
    latnumber<double>
    lngnumber<double>
    labelstring
    dropoff object
    latnumber<double>
    lngnumber<double>
    labelstring
    modestring
    depart_atstring<date-time>
    expires_atstring<date-time>
    created_atstring<date-time>
    expiredboolean
    DeliveryQuote
    {
    "quote_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "amount": 46.5,
    "currency": "GHS",
    "breakdown": [
    {
    "item": "base_fee",
    "label": "8.4 km × 2.00",
    "amount": 0
    }
    ],
    "skipped": [
    "string"
    ],
    "route": {
    "distance_m": 0,
    "duration_s": 0,
    "traffic_note": "string",
    "surface_checked": true,
    "unpaved_distance_m": 0,
    "flood_crossings": 0,
    "rain": "string",
    "toll": true,
    "zones": [
    "string"
    ]
    },
    "pickup": {
    "lat": 0,
    "lng": 0,
    "label": "string"
    },
    "dropoff": {
    "lat": 0,
    "lng": 0,
    "label": "string"
    },
    "mode": "string",
    "depart_at": "2024-07-29T15:51:28.071Z",
    "expires_at": "2024-07-29T15:51:28.071Z",
    "created_at": "2024-07-29T15:51:28.071Z",
    "expired": true
    }