Returns Polling Delta API

The Return Polling Delta API is used to fetch all the return requests raised in the Clickpost system in a 60 minute window. This can be considered as a fallback mechanism to the Return Request Received Webhook mentioned above that is already in place to share this data.

Important Links

Run in Postman API Guide

Response

meta [meta parameters]

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

result [result parameters]

Field NameData TypeDescription
statusStringStatus of the return request
Return Request TimestampStringThe date and time of the return request
cp_idNumThe carrier partner id
cp_nameStringThe name of the carrier partner
account_codeStringName of the account registered by the enterprise on Clickpost dashboard for the carrier partner. Will return a 400 Bad Request response if the given account is inactive or does not exist.
return_tracking_idNumThe return tracking ID
awbStringThe air way bill number of the reverse shipment
timestampStringThe timestamp in UTC of the return request
refund_modeStringThe mode of the refund for the return order
sourceStringThe source from where the return request was places
webhook_payloadJSON ObjectThe webhook payload
waybillStringThe Air Way bill number of the reverse shipment
cp_idNumThe carrier partner id
statusStringThe status of the return order
locationStringThe location of the return order
clickpost_status_codeNumThe clickpost tracking status.
Reference
notification_eventNumThe clickpost notification event code https://docs.clickpost.ai/docs/notification-event
clickpost_status_descriptionStringThe Clickpost tracking status description
clickpost_status_bucketNumIn case Enterprise wants to build a custom UI on top of this API, then they can build logic on top of this field

https://docs.clickpost.ai/docs/clickpost-status-bucket
clickpost_status_bucket_descriptionStringThe description of the clubbed Clickpost Status bucket https://docs.clickpost.ai/docs/clickpost-status-bucket
timestampStringThe timestamp in UTC of the return request
remarkStringThe remark sent by the carrier partner
account_codeStringName of the account registered by the enterprise with the carrier partner defined by carrier_partner_id field. Will return a 400 Bad Request response if the given account is inactive or does not exist.
additionalJSON ObjectThe additional details for the particular return order
latest_statusJSON ObjectThe latest status of the return order
1. location
2. remark
3. clickpost_status_code
4. clickpost_status_description
5. clickpost_status_bucket
6.clickpost_status_bucket_description
7. timestamp
8. status
is_rvpBooleanWhether the order is reverse or not
forward_awbStringThe original AWB number of the forward shipment
forward_reference_numberStringThe reference number of the forward shipment
forward_order_idStringThe order ID of the forward shipment
notification_event_idNumThe clickpost notification event code https://docs.clickpost.ai/docs/notification-event
self_shippedBooleanWhether the return shipment was self shipped by the customer or not
item_infoArrayThe details of the item being returned to origin
skuStringThe Stock Keeping Unit of the Item being returned
quantityNumThe quantity of the returned item
return_reasonStringThe reason for the return
refund_modeStringThe mode of the refund for the return order
return_reference_numberStringThe reference number of the return order
Language
Click Try It! to start a request and see the response here!