Delete multiple stops
Deletes the given stops in one request.
Deletes the given stops in one request. Keep stops in a terminal state (delivered, failed, cancelled) for traceability and analytics instead of deleting them.
Use it for bulk cleanup before optimization, for example orders cancelled in your e-commerce after the import. To remove an executed delivery for GDPR reasons, contact support so the audit log is preserved.
Authorization
api_key private_key<token>
Pass your API key as the private_key query string parameter. Generate and rotate keys in Developer Settings of your Routal workspace.
Keys stay server-side. Never ship them to a browser or mobile app.
In: query
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/v2/stops/delete" \ -H "Content-Type: application/json" \ -d '{}'{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}Empty
{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}Empty
Empty
