Fetch Expected Date of Delivery

By entering the pick up and drop pin codes, the enterprises can fetch the expected date of delivery and expose the same on their website inorder to improve the customer experience.

Overview

By entering the pick_up and drop pin codes, the enterprises can determine the expected date of delivery.

The expected date of delivery API computes the minimum/maximum time range, a shipment lifecycle may take between the pickup and drop Pincode using our predictive machine learning algorithm.

By default, it computes the range for all carrier companies available and gives the carrier partner id which might deliver the shipment fastest.

An optional cp_id carrier partner id can be passed to see the range for a specific carrier partner

  1. On the product page, enterprises can call Clickpost's EDD API to show the Expected Delivery Date to the customer

  2. At the time of checkout, the enterprise can show the Expected Date of Delivery to the customer

  3. Get the minimum and maximum time in days for a particular shipment from pickup Pincode to drop Pincode

Run in Postman API Reference

Usecase

This is a standard API which applies to all MPS (Multi-Piece Shipment) and SPS (Single Piece Shipment) orders

Geography

This is a standard API which supports all shipments created and transported within

  1. India
  2. North America
  3. Europe
  4. South East Asia

👍

NOTE

The API uses our predictive machine learning algorithm

Request Payload

optional [optional parameters] [optional]

Field NameData TypeFieldDescriptionMax LengthExample
cp_idnumOptionalCarrier Partner ID. This can be found on the dashboard or you can refer it to here. If you pass a cp_id, then the API will return the serviceability of that particular carrier partner4
awbstringOptionalAirway bill number of a shipment for which the Expected date of delivery needs to be calculated76593744312
Field NameData TypeFieldDescriptionMax LengthExample
drop_pincodenumMandatoryThe drop pincode for which the EDD needs to be ascertained6 char380001
pickup_pincodenumMandatoryThe pickup pincode for which the EDD needs to be ascertained6 char380015

Response

meta [meta parameters]

Field NameData TypeDescriptionExample
successBooleanIndicates the success of the API requesttrue
messageStringThe message from clickpost. In case of success it will be "SUCCESS". In case that there are no carrier partners that are servicing the pincodes it will be”Pin code not serviceable""SUCCESS"
statusHTTP CodeThe HTTP response status code of the API request200

result [result parameters]

Field NameData TypeDescriptionExample
predicted_sla_minnumThe minimum time in days in which the shipment will be delivered to the drop Pincode2
predicted_sla_maxnumThe maximum time in days in which the shipment will be delivered to the drop Pincode4
all_mapobjectReturns an array for each carrier partner with the minimum and maximum SLA"6": [
2,
3
]
min_sla_cp_idnumReturns the carrier partner id (cp_id) which has the lowest SLA in days 6
pickup_datestringThe date on which shipment will be picked up by the carrier partner"2021-06-22"

📘

NOTE

Here Estimated date of delivery would be "Pickup date" + "SLA" (receievd from EDD API)