Delete multiple stops
Deletes the given stops in a single request.
Deletes the given stops in a single request. Stops in a terminal state (delivered, failed, cancelled) should not be deleted — keep them for traceability and analytics.
Use this for bulk cleanup before optimization (e.g. orders cancelled on your e-commerce after import). To remove a single executed delivery for GDPR / privacy reasons, contact support so we can do it in a way that preserves audit logs.
Authorization
api_key The Routal API authenticates requests with an API key passed as the private_key query string parameter. Generate and rotate your keys from the Developer Settings section of your Routal workspace.Never ship API keys to a browser or mobile app — they must stay server-side.
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"
}{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}{
"message": "Domain not found",
"message_id": "highway.domain.error.not_found"
}