Get Delivery

Returns the delivery details for a given delivery order id.

response payload propertytypedescription
idstringunique order id assigned by IHD
service_providerstringspecifies the DSP name
order_idstringDSP order id reference
order_referencestringsimple order id provided to the driver and referenced at the pickup location
order_typestring"delivery" is the only supported value.
statusFilters orders by status. Allowed values include

new: New order that is yet to be dispatched to a DSP.

accepted: Order accepted by the DSP. Awaiting driver to be assigned.

pickup: Driver on the way to the pickup location.

dropoff: Driver on the way to the customer dropoff address.

delivered: Completed delivery

canceled: Canceled delivery

returning: Driver returning an order back to the pickup location

returned: Returned delivery
(optional)
pickupobjectDetails of the pickup location
dropoffobjectDetails of the dropoff location
order_itemsarrayList of items included in the order
distanceintegerDistance between pickup and dropoff in meters
pickup_at_readytimestampWhen the order is ready to be picked up by the driver. Based on UTC.
pickup_at_etatimestampPickup ETA specified at the time of the quote. Based on UTC.
live_pickup_at_etatimestampLive pickup ETA as it is updated by the DSP. Based on UTC.
pickup_attimestampWhen the driver picked up the order. Based on UTC
dropoff_at_etatimestampDrop off ETA specified at the time of the quote. Based on UTC.
live_dropoff_at_etatimestampLive drop off ETA as it is updated by the DSP on a frequent basis. Based on UTC.
dropoff_attimestampTimestamp of when the driver dropped off the order. Based on UTC
customer_feeintegerDelivery fee the customer is charged
feeintegerRaw DSP delivery fee charged by the DSP
tipinteger Tip specified by the customer (in cents)
totalintegerGrand total amount for the order (in cents)
currencystringCurrency of the fees and amounts included in the order
tracking_urlstringIncludes the live tracking url for the courier and their whereabouts.
courierobjectIncludes the courier details
locationobjectIncludes the IHD location id this order is part of
requires_idbooleanWhether the driver needs to perform an ID check before handing over the order to the customer. (used for orders with age requirements such as alcohol)
requires_signaturebooleanWhether a customer signature is necessary as a proof of delivery.
refundobjectRepresents the status and details of the refund if requested
external_idstringexternal id provided by the 3rd party solution
Path Params
string
required
Defaults to 91997ad7-fb6f-4483-80f0-474a03a8b742
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json