POST https://api.staging.deliverect.com /fulfillment/cancel Staging Environment

Cancel Delivery

Cancel Delivery

This endpoint allows a way of receiving notification from our partners that a job they have previously accepted is no longer possible to be dispatched by their system.

Currently, cancelation is only supported for the below reason tags.

REASON TAGS

reasonTag Meaning
COURIER_NO_LONGER_AVAILABLE There is no longer an available courier for the delivery
COURIER_TRANSPORT_FAILURE Courier attempted to deliver but could not because of a transport failure (e.g., a flat tire)
FOOD_ITEMS_ARE_NOT_READY The order was not ready within the agreed time after pick up (between the dispatch partner and merchant)
DROP_OFF_LOCATION_NOT_FOUND The courier could not find the delivery location
CUSTOMER_UNRESPONSIVE The customer did'nt pick up the phone nor open the door.
PACKAGE_SIZE_TOO_LARGE The package size is too large to be delivered

📘 Cancellation cut-off time

You can cancel the delivery job with a valid reasonTag at any point before "Delivered".

aplication/json content type isn’t supported yet in our API Explorer.

Report an unsupported content type
POST /fulfillment/cancel
Loading...

Share your request

Use this link to easily share a pre-filled request of this operation. Everything you filled will be shared apart from the authentication fields.

Request URL

https://docs.deliverect.com/doc/dispatch-api/explorer/operation/operation-post-fulfillment-cancel

Send a delete request

It looks like you’re about to send a DELETE request to this API. This type of request carries a risk of permanent and irreversible data loss.

Are you sure you want to continue?
Response
Waiting for a request to be sent.