Cancel a delivery

Asks the delivery provider to call off a delivery that has not yet finished.

Check the cancelled flag, not the status code: a 200 with cancelled: false
means the provider refused — usually because the driver is too far along — or the
delivery had already reached a terminal status. The delivery is only marked
cancelled in YUMBI when the provider confirms it.

Cancellation fees, if the provider charges them, are settled outside this API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The provider delivery id returned by POST /api/v1/deliveries.

Headers
string
required

Bearer

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json