---
title: "Cancel delivery"
method: DELETE
path: "/v1/deliveries/{deliveryID}"
tags: ["Deliveries"]
---

# Cancel delivery

`DELETE /v1/deliveries/{deliveryID}`

## Request

- Base URL: `https://api.dashelectric.co`
- URL: `https://api.dashelectric.co/v1/deliveries/{deliveryID}`
- Auth: HTTP bearer

Cancels a delivery while it is still in `ALLOCATING` or
`PENDING_PICKUP`. Once the driver has started pickup, provider-side
cancellation is no longer allowed.

## Request body

- object
  - `notes` string: Optional cancellation reason surfaced to Dash Ops.

## Response `200`

Cancelled

- object
  - `status` string
  - `message` string

## Other responses

- `404`: Not found
- `409`: Conflict — already terminal, or driver already picked up

---

[API](https://skmtc.dev/dashelectric/apis/dash-open-api.md) - [All operations](https://skmtc.dev/dashelectric/apis/dash-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dashelectric/apis/dash-open-api/revisions/7544dae33009?raw)
