NDR Action Update

This API instructs the courier company to take action on an AWB. Two actions are supported: Re Attempt Delivery, and Initiate Return to Origin

Overview

This API instructs the courier company to take action on an AWB. Two actions are supported

  1. Initiate Return to Origin: Enterprise can use this API to initiate a return to the origin, in cases where the customer cancels the order
  2. Re-Attempt the delivery with the updated
    1. address
    2. landmark
    3. drop_pincode
    4. phone_number
    5. preferred_date

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

❗️

NOTE

If the enterprise is using the NDR API, they need to ensure that the NDR reports for the particular carrier partner are enabled. Please reach out to support

Query Parameters

Field NameData TypeFieldDescriptionExample
username stringMandatoryUsername of the enterprisetest-enterprise
keystringMandatoryUnique license key provided by Clickpost for the enterprise00000000-0000-0000-0000-000000000000

Request Body

Field NameData TypeFieldDescriptionExample
action stringMandatoryAction to be passed to carrier partner: either INITIATE_RTO or REATTEMPT"REATTEMPT"
waybill stringMandatoryAWB Number that needs to be updated"4152912745934"
cp_id numMandatoryThe carrier partner ID
(https://track.clickpost.in/carrier_partner)
4
account_code stringMandatoryThe account code of the carrier partner on Clickpost dashboard, which is used to generate the AWB Number"Delhivery-Express"
addressstringOptionalThe updated address. Mandatory in case of REATTEMPT"Updated Address details"
landmark stringOptionalThe updated landmark. Mandatory in case of REATTEMPT"Updated Address landmark if any"
drop_pincode stringOptionalThe updated drop Pincode. Mandatory in case of REATTEMPT"380001"
phone_numberstringOptionalThe updated phone number. Mandatory in case of REATTEMPT"8080808080"
preferred_date stringOptionalThe updated delivery date. Mandatory in case of REATTEMPT"2022-10-31"
sourcestringOptionalHelps in identifying the source of this update. If you are a whatsapp communication gateway using this API, please pass source as "whatsapp""whatsapp"

Response

meta [meta parameters]

Field NameData TypeDescriptionExample
successBooleanIndicates the success of the API requesttrue
messageStringSUCCESS in case request was successfully processed by Clickpost, else returns error message."SUCCESS"
statusHTTP CodeThe HTTP response status code of the API request200