Tour, Shipment & Order Status

Orbit supplies a current status for tours, shipments and orders. Statuses are updated in lockstep:

Tour StatusShipment StatusOrder StatusDescription
requestedOrder is requested, no shipment and no tour created yet.
UnroutedconfirmedOrder is confirmed, shipment is created but not routed on a tour yet.
UnassignedRoutedconfirmedTour is created from shipment, not assigned to a carrier yet.
AssignedRoutedconfirmedTour is assigned to a carrier.
RunningEnroutePickupconfirmedTour is started. More detailed tour status can be obtained from "substatus" property. Shipment status is updated.
RunningEnrouteDropoffconfirmedShipment pickup stop is reached on tour, shipment status is updated.
WaitingForReviewWaitingForReviewWaitingForReviewTour is finished and waiting for review. Shipment and Order status are updated to “WaitingForReview”.
CompletedDeliveredcompletedTour is reviewed. No effects on shipment and order status.
RunningFailedunchangedDelivery of the shipment failed (e.g. a stop could not be completed). The shipment is taken off the tour and can be re-planned on a new tour or closed after review. The order keeps its current status.

Integrated Carriers

For tours assigned to an integrated carrier (a carrier connected through an external transport API instead of Orbit's driver apps), the lifecycle above is driven by status events reported by the carrier — via webhook pushes or periodic polling — rather than by driver actions. The same statuses apply, with these characteristics:

  • The tour advances forward only (AssignedRunningWaitingForReview) and never past WaitingForReview; reviewing/completing and cancelling remain operator actions.
  • A tour may skip Running and move directly to WaitingForReview when the carrier's delivery confirmation is the first event received. Consumers of tour webhooks should not rely on observing every intermediate status.
  • The carrierBooking block on tour reads carries the integration lifecycle: integrationStatus (booked, inTransit, exception, failed, cancelled) and statusLog (every carrier event, verbatim). A carrier-reported cancellation is surfaced as integrationStatus: "cancelled" only — the tour's own status is never changed automatically.
  • Shipment statuses are updated in lockstep, as in the table above. Because integrated carriers do not report per-stop progress, shipments show EnroutePickup while the tour is Running (no EnrouteDropoff step).

Cancellation & Deletion

Tour Cancellation

TriggerTour StatusShipment StatusOrder StatusDescription
Tour cancelledCancelledUnroutedconfirmedTour is cancelled. Shipment is unrouted and can be re-planned on a new tour. Order remains confirmed.

Tour Reset

TriggerTour StatusShipment StatusOrder StatusDescription
Tour resetAssignedRoutedconfirmedTour is reset to “Assigned” status. Shipment remains “Routed” on the tour. Logged times and substatus are cleared.

Tour Deletion

TriggerTour StatusShipment StatusOrder StatusDescription
Tour deleted(deleted)UnroutedconfirmedTour is deleted. All shipments on the tour are unrouted and can be re-planned. Order remains confirmed.

Shipment Cancellation

TriggerShipment StatusTour StatusOrder StatusDescription
Shipment cancelledCancelled(unchanged)confirmedShipment is cancelled. If shipment is on a tour, it is removed from the tour and the tour is rebuilt without it. Order remains confirmed.

Order Cancellation

TriggerOrder StatusShipment StatusTour StatusDescription
Order cancelledcancelledCancelled(rebuilt or deleted)Order is cancelled. All shipments are cancelled. Shipments are removed from their tours. Tours are rebuilt without cancelled shipments or deleted if no shipments remain.

Multi-Entity Cases

Multiple Shipments on One Tour

Scenario 1: Tour Cancellation

TriggerTour StatusAll Shipments StatusOrder StatusDescription
Tour cancelledCancelledUnroutedconfirmedAll shipments on the tour are unrouted and can be re-planned. Orders remain confirmed.

Scenario 2: One Shipment Cancelled

TriggerTour StatusCancelled ShipmentOther ShipmentsDescription
1 Shipment cancelled(rebuilt)Cancelled (removed from tour)Routed (remain on tour)Tour is rebuilt without the cancelled shipment. Other shipments remain on the tour.

Multiple Shipments on One Order

Scenario: Order Cancellation

TriggerOrder StatusAll Shipments StatusTours StatusDescription
Order cancelledcancelledCancelled (removed from tours)(rebuilt or deleted)All shipments are cancelled and removed from their tours. Tours are rebuilt or deleted.