Deliveries

Cancel delivery

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.

delete/v1/deliveries/{deliveryID}

Request

  • Base URL
    https://api.dashelectric.co
  • Auth
    HTTP bearer

Request body

notesstring

Optional cancellation reason surfaced to Dash Ops.

Example request

{
  "notes": "Customer changed mind"
}

Response

Cancelled

statusstring
messagestring

Example response

{
  "status": "Success",
  "message": "Pengantaran berhasil dibatalkan."
}

Changes

No recorded changes to this operation across all 1 revision of this API.