Public beta

Recipe: Reroute a delivery mid-flight

Sometimes the recipient is not where they expected to be. You can update the dropoff address while the driver is en route, as long as the new address is within a reasonable detour.

Coming soon

ETA: Q3 2026
The POST /v1/deliveries/:id/reroute endpoint and the delivery.reroute_accepted / delivery.reroute_declined webhook events are not live yet. The shape below is what you will integrate against — building to it now means you ship the day reroute lights up.
Join the reroute beta waitlist

Eligibility

  • Status must be picked_up or in_transit.
  • New dropoff is within 5km of the original.
  • Driver has explicitly accepted reroutes (most have).

Request the reroute

curl -X POST https:"color:#6a9955">//api.zippex.com/v1/deliveries/del_m8n9o0p1/reroute \
  -H "Authorization: Bearer zx_test_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
    "dropoff_address": "1055 Granville St, Vancouver, BC V6Z 1L4",
    "reason": "Recipient moved to office",
    "additional_fee_max_cents": 500
  }'

Listen for the response webhook

The driver has 60 seconds to accept the reroute. Subscribe to the delivery.reroute_accepted and delivery.reroute_declined events to update your UI.