Update Delivery Window
Update delivery window by specifying dropId, control business id and updated delivery window.
NB: The 'user' field in the request body is the control business id.
Update delivery window
POST {baseUrl}/drops/updateDeliveryWindow
Request Body
Name
Type
Description
estimatedPickupWindow*
Object
estimatedDropoffWindow*
Object
user
String
dropIds*
Array<String>
pickupDate
String
{
"status": true,
"message": "Delivery cancelled",
"data": {
}
}{
"status": false,
"message": "Invalid app_id or app_secret",
"data": {
"statusCode": 401,
"message": "Invalid app_id or app_secret",
"isOperational": true,
}
}// Sample Request Information
Url: https://sandbox.sendstack.africa/api/v1/drops/updateDeliveryWindow
Method: POST
Headers:
- app_id: "your app_id"
- app_secret: "your app_secret"Sample Success Data
Sample Error Data
Last updated