DeltaVelocity

Delivery exceptions

Respond to non-delivery

An NDR (non-delivery report) records an unsuccessful delivery attempt needing attention. Read GET /v1/ndrs (scope orders:read) and the shipment's current tracking before contacting the customer. Send an allowed action through POST /v1/shipments/{shipment_id}/ndr-actions (scope shipments:write), using only the fields and action values in its schema. An accepted action requests courier handling; it does not prove that another attempt or successful delivery occurred. Reconcile state before retrying after a timeout.

Cancel while permitted

Use POST /v1/shipments/{shipment_id}/cancel (scope shipments:write) while the lifecycle allows cancellation. 202 means the courier did not answer in time; poll the shipment before treating it as cancelled. The same plain 202 comes back when the courier has not yet confirmed the booking. Its body is the shipment, still ready_to_ship, and it carries no job or item code. DV has stored the cancel and applies it automatically once the booking resolves. That usually takes about 75 minutes, counted from the booking attempt or from your cancel request, whichever is later. DV checks every 10 minutes, so each step can run up to 10 minutes after that. Poll GET /v1/shipments/{shipment_id} until status is cancelled. Do not retry the cancel: a repeat answers the same 202 and changes nothing. A 409 conflict can mean the shipment moved during the call: honour Retry-After, read it and reassess. Do not reuse a cancelled AWB for a new booking.

Follow a return to origin

For an undelivered forward parcel, follow rto_initiated, rto_in_transit and rto_delivered through tracking or webhooks. RTO is not a customer-return request; do not create a DTO to represent it. Booking refusals happen earlier, before handoff: resolve them using the Orders and booking outcome table.