DeltaVelocity

Tracking and change feed

Read the current parcel with GET /v1/shipments/{shipment_id} and the event history with GET /v1/shipments/{shipment_id}/tracking (scope tracking:read). List your parcels with GET /v1/shipments; filtering by awb returns at most one. Save shipment_id as your join key, even after an AWB is assigned.

Polling for changes

GET /v1/shipments?updated_since=<timestamp> returns shipments changed since that time, oldest change first.

  • Settle window. The feed holds back changes from the last 60 seconds, so a page never skips a change that was still being written. The feed therefore lags real time by about a minute. Use webhooks when you need changes as they happen.
  • At-least-once. A change can still appear after you have paged past its time, so overlap your windows: start each poll a few minutes before the newest updated_at you have seen, and dedupe on shipment_id plus updated_at. Repeated shipments are expected; retain a durable synchronization checkpoint only after you have processed the page successfully.
  • Order status lives on shipments. GET /v1/orders?updated_since= changes only when the order itself is edited, so poll /v1/shipments for status changes.

Canonical shipment statuses

Every shipment status, in the API and in webhooks, is one of these 16 values:

statusMeaning
createdThe order exists; the shipment is not booked yet.
ready_to_shipBooked with a courier and waiting for pickup (includes manifested and pickup scheduled).
manifest_failedThe courier refused the booking; reallocate the shipment from the dashboard.
picked_upThe courier has picked the parcel up.
in_transitOn its way to the customer.
out_for_deliveryWith the delivery agent today.
deliveredDelivered to the customer.
ndrA delivery attempt failed (non-delivery report); an action is pending.
rto_initiatedReturn to origin started after failed delivery.
rto_in_transitReturning to your warehouse.
rto_deliveredBack at your warehouse.
return_initiatedA customer return is booked; pickup is pending.
return_picked_upThe return has been picked up and is on its way to you.
return_deliveredThe return reached your warehouse.
cancelledThe shipment (or, with direction dto, the return) was cancelled.
lostThe courier declared the parcel lost.