Fetch Expected Date of Delivery (IN)

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.

post/v2/predicted_sla_api/

Request

  • Base URL
    https://ds.clickpost.in/api
  • URL
    https://ds.clickpost.in/api/v2/predicted_sla_api/
  • Auth
    none required

Query parameters

usernamestring required

Username, unique to the enterprise profile

keystring required

Unique key to verify/authenticate the enterprise profile

check_drop_pincode_validitystring

It is either true or false. If it is true then we validate the drop pincode

Request body

RAW_BODYstring json required

Response

200

OR
OR

Example response

{
  "meta": {
    "status": 200,
    "message": "SUCCESS",
    "success": true
  },
  "result": [
    {
      "predicted_sla_min": 2,
      "predicted_sla_max": 5,
      "all_map": {
        "3": [
          4
        ],
        "6": [
          2
        ],
        "55": [
          3
        ]
      },
      "min_sla_cp_id": 6,
      "pickup_date": "2021-06-22"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.