get https://www.clickpost.in/api/v1/ndr_user_feedback/
This API enables customers to retrieve feedback from end-users in case of failure of delivery of any shipment. Users can update their preferred location of delivery at Clickpost Tracking Page, and those changes are retrieved by this API.
Important Links
Response
The sample response can have the following fields
Field Name | Data Type | Description |
---|---|---|
meta | Object | Metadata for the result, e.g. status code, error messages. |
result | List of Objects | A list of objects, each denoting a feedback provided by the user. |
Response Meta
Field Name | Data Type | Description |
---|---|---|
status | Integer | Status code of the response (including, but not limited to HTTP Status codes) |
message | String | Error message (if any errors) for the request. |
success | Boolean | Whether the request is successful or not. |
Response Result Object
Each object in the result
list may consist of the following fields.
Field Name | Data Type | Description |
---|---|---|
type | String | Type of NDR feedback received. Can be either CLIENT_OPS_FEED or CUSTOMER_FEED |
awb | String | AWB of the order for which NDR feedback is provided |
address | String/Null | Address of delivery, updated by the user at the tracking page |
landmark | String/Null | Landmark of the address of delivery, updated by the user at the tracking page |
drop_pincode | String/Null | Pincode of delivery address, updated by the user at the tracking page |
preferred_date | String/Null | Preferred date of delivery of the order (in YYYY-MM-DD format if not null) |
preferred_time | String/Null | Preferred time of delivery of the order (in HH:MM:SS format if not null) |
phone | String/Null | Phone number for delivery, updated at the tracking page |
comment | String/Null | Comment about the change of order by the user, updated at the tracking page |
created_at | String | Timestamp when the user requested the change of the above details (in YYYY-MM-DDTHH:MM:SS format) |
clickpost_status_code | Integer | Status code of the shipment when the end-user entered the feedback |
api_data_push | Boolean/Null | Whether the updated data has been pushed to the carrier partner APIs via Clickpost's API or not. Can take 3 values based on the course of action: - null : There was no attempt to push data from Clickpost's end,- true : The updated data was successfully pushed to the carrier partner APIs- false : There was an attempt to push data, but it failed. |
clickpost_status_description | String | Brief description of the status of the shipment when the end-user entered the feedback. |
is_rejected | Boolean/Null | Whether customer has rejected the shipment |
reference_number | String | Reference number of the shipment |
additional | Object | Additional feedback related to steps taken internally by CST |
Response Result - 'additional' Field
Field Name | Data Type | Description |
---|---|---|
internal_username | String | The login username agent has used to retrieve feedback |
internal_cst_responded | Boolean | Whether customer support team of the enterprise has taken any action regarding the shipment |
internal_comment | String | Comments added by CST regarding the shipment |