Cancel Drops

post
{baseUrl}
/drops/cancel
Cancel Drops
Cancel drops by passing an array of dropIDs
Parameters
Header
app_id*
string
Your app ID
app_secret*
string
Your app secret key
Body
dropIds*
Array<string>
array of drop IDs
trackingId
String
batchId
String
note
String
Responses
200
Deliveries cancelled
400: Bad Request
Invalid dropId
// Sample Request information
Url: https://sandbox.sendstack.africa/api/v1/drops/cancel
Method: POST
Headers:
- app_id: "your app_id"
- app_secret: "your app_secret"

Sample Success Data

// Sample Request Body
{
"dropIds": ["{{dropId}}"],
"trackingId": "BN8IU3",
"batchId": "MFUD2A",
"note": "drop cancelled"
}
//Sample Response Body - 200 OK
{
"status": true,
"message": "Deliveries cancelled",
"data": {}
}

Sample Error Data

{
"dropIds": ["invalid dropId"]
}
//Sample Response Body - 400 OK
{
"status": false,
"message": "Invalid dropIds"
}