Skip to content
NDR RoadMap (Sprint 7)

Delhivery API

curl --location --request POST 'https://staging-express.delhivery.com/api/p/update' \
--header 'Authorization: Token 8835d333a7173755b3e4420904c86b4e8c2c6bd4' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"waybill": "3278213",
"act": "EDIT_DETAILS",
"action_data": {
"name": "name1",
"add": "add1",
"phone": "2132341412"
}
},
{
"waybill": "278382",
"act": "RE-ATTEMPT"
},
{
"waybill": "27838222",
"act": "DEFER_DLV",
"action_data":{
"deferred_date":"YYYY-MM-DD"
}
}
]
}'
HASH
Action
Phone Number
Address
Future Delivery Date
act
action_data
Response
1
RTO
2
RA
RE-ATTEMPT
NULL
3
RA
2021-08-17
DEFER_DLV
defered_date: “2021-08-17”
{
"message": "Request submitted successfully!",
"request_id": "UPL3791812044752097771"
}
4
RA
9716106715
EDIT_DETAILS
"action_data": { "phone": "2132341412" }
{ "message": "Request submitted successfully!", "request_id": "UPL424674043942277611" }
5
RA
9716106715
New Address upto 30 or 60 based on courier
EDIT_DETAILS
"action_data": { "name": "name1", "add": "add1", "phone": "2132341412" }
{ "message": "Request submitted successfully!", "request_id": "UPL10460808649461862891" }
There are no rows in this table

M - > Nginx → Gunicorn → Redis → Django → Celery

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.