Dispatch - Delivery Job Model

Request Parameters

ParametersMeaningType
jobIdDeliverect delivery job IDstr
accountThe unique identifier of the customer account in Deliverectstr
pickupTimeThe expected pick up time in UTC yyyy-MM-ddTHH:mm:ssZ (all time values in our API are in UTC time as per ISO8601)str
transportTypeIf a transport type has been specified it will appear as one of the values in the list of types herestr
driverTipThe tip amount intended for the courierint
ageCheckWhether an age verification is needed upon delivery or notbool
pickupLocationDetails of the pickup locationobj
pickupLocation.locationThe unique identifier of the customer location in Deliverectstr
pickupLocation.namename of the locationstr
pickupLocation.remarksspecific instructions for pickup at location "ringstr
pickupLocation.streetstreet namestr
pickupLocation.streetNumberstreet numberstr
pickupLocation.postalCodepostal codestr
pickupLocation.citycitystr
pickupLocation.latitudelatitudestr
pickupLocation.longitudelongitudestr
deliveryLocationsArray of delivery locationsarray (object)
deliveryLocations.orderIdDeliverect order ID.str
deliveryLocations.channelOrderDisplayIdChannel order ID.str
deliveryLocations.deliveryTimeExpected delivery time in UTC yyyy-MM-ddTHH:mm:ssZ (all time values in our API are in UTC time as per ISO8601)string
deliveryLocations.packageSizePackage size if specified from the list here (not provided for all channel orders)str
deliveryLocations.orderDescriptionDetails specific to the orderstr
deliveryLocations.companycompanystr
deliveryLocations.namecustomer namestr
deliveryLocations.streetstreetstr
deliveryLocations.postalCodepostal/zip codestr
deliveryLocations.citycitystr
deliveryLocations.phonephomestr
deliveryLocations.phoneAccessCodePhoneAccessCode if available from channel, field will be present only if value is not None.str
deliveryLocations.latitudelatitude
deliveryLocations.longitudelongitude
deliveryLocations.deliveryRemarksDetails specific to the delivery job
deliveryLocations.paymentThe total payment amount for the orderobj
deliveryLocations.payment.orderIsAlreadyPaidIndicates if order has been paid already.bool
deliveryLocations.payment.amountPayment amount.int
deliveryLocations.payment.paymentTypePayment type.int

Response Parameters

ParameterMeaningType
jobIdDeliverect delivery job ID.str
canDeliverIndicates if delivery partner able complete delivery job.bool
distanceIndicates the distance for the deliveryint
pickupTimeETAEstimated pick up time in UTC yyyy-MM-ddTHH:mm:ssZ (all time values in our API are in UTC time as per ISO8601)str
deliveryLocationsarray of objectsobj
deliveryLocations.deliveryIdId of the delivery generated by delivery partner.str
deliveryLocations.orderIdDeliverect order ID.str
deliveryLocations.deliveryTimeETAEstimated delivery up time.str
deliveryLocations.deliveryRemarksstr
priceThis includes values relating to the cost of the delivery jobobj
price.priceDelivery cost (1000 stands for 10.00).int
price.taxRateTax rate for delivery - 10000 stands for 10.00% (if not applicable send 0)int
courierIdThis is the unique identifier of the rider.str
externalJobIdJob id in delivery partner system, used when responding to the create delivery job webhookstr
courierThis includes values relating to the courier assigned to the delivery job used when responding to the create delivery job webhookobj
courier.courierIdUnique ID of the courier if availablestr
courier.firstNameCourier first namestr
courier.lastNameCourier last namestr
courier.phoneNumberCourier contact phone numberstr
courier.transportTypeThe mode of transport used by the courier list of types herestr

Transport types

The following transport types are supported by deliverect.

Transport Type NameString Value
UNKNOWNunknown
BICYCLEbicycle
CARGOBIKEcargobike
MOTORBIKEmotorbike
MOTORBIKE XLmotorbikexl
CARcar

Package sizes

📘

Package size support is limited

Not all channels will provide the below variations on package size

The following package sizes are supported by deliverect.

Package Size NameString ValueDimensionsDescription
UNKNOWNunknownunknownunknown
SMALLsmall22 x 42 x 45 cmStandard delivery with a Courier on a bicycle or scooter.
LARGElarge30 x 124 x 80 cmDelivery which will require to be delivered via car
EXTRA LARGEextraLargeLarger than 30 x 124 x 80 cmFor large catering orders with many different trays to be delivered requiring a van

Payment info

Along with delivery location info, we send payment information. This contains if the order is paid for, the amount of payment, and the payment type. See the table below for payment types currently supported by Deliverect.

Payment Type NameInteger Value
Credit card online0
Cash1
On Delivery2
Online3
Credit Card at Door4
PIN at Door5
Voucher at Door6
Cheque7
Ban Contact8
Other9