Skip to content

Status model of Bookings

This article explains the different statuses a booking progresses through. If you don't know yet what a booking is, please read the Bookings article first.

Introduction

Every Booking on MotionTools progresses through different statuses during its lifecycle. It’s critical to understand the meaning of each status, as available actions and features, as well as the visibility, are directly related to or restricted by its status.

A Booking doesn’t necessarily go through all available statuses. Some statuses may be skipped during transitions. For example, if an operator hasn’t enabled payments, a booking will never enter the Processing Payment status.

Screenshot

If you are developing integration with MotionTools, note that the status names shown on the Dashboard may slightly differ from the names used in the API. To receive notifications for every status change, you can subscribe to the corresponding webhook event.

Statuses

On hold

to_be_dispatched

An On Hold status indicates that a Booking was created but hasn't been dispatched into a Tour yet.

On Hold is also the initial status of all Bookings if the Manual Dispatching feature is enabled for a service of a Booking.

Available transitionTransition on APITrigger
On Hold → DispatcheddispatchAll stops of a booking were merged into tours. This happens automatically when the Manual Dispatching feature is disabled.
On Hold → Partially dispatchedpartially_dispatchSome stops of a booking were merged into tours
On Hold → CancelledcancelA booking was cancelled

Dispatched

dispatched

A Dispatched status indicates that all stops of a Booking were distributed between one or multiple Tours. The Booking will transition straight to Done as soon as all stops are completed unless any stops fail.

Available transitionTransition on APITrigger
Dispatched → Donecomplete_stopsAll stops of a booking were completed via corresponding tours
Dispatched → On Holdundispatch_stopsAll stops of a booking were undispatched, and the Manual Dispatching feature is enabled for the service of a booking
Dispatched → On Holdcomplete_stopsA booking was operationally completed, but all stops failed
Dispatched → Partially Dispatchedundispatch_stopsOnly some stops of a booking were undispatched
Dispatched → Partially Dispatchedcomplete_stopsA booking was operationally complete, but some stops failed
Dispatched → Processing Paymentprocess_paymentOnly if Payment feature is enabled
Dispatched → CancelledcancelA booking was cancelled

Partially dispatched

partially_dispatched

A Partially Dispatched status indicates that only some of its stops were distributed between Tours or that a Booking has failed stops.

Available transitionTransition on APITrigger
Partially Dispatched → DispatcheddispatchThe remaining stops were distributed between tours
Partially Dispatched → On Holdundispatch_stopsAll stops of a booking were undispatched, and the Manual Dispatching feature is enabled for the service of a booking
Partially Dispatched → CancelledcancelA booking was cancelled

Done

done

A Done status indicates that a booking has been operationally completed, i.e., all stops of the Booking were completed by a Driver.

Available transitionTransition on APITrigger
Done → Processing paymentprocess_paymentThe platform started processing payment after a booking is completed operationally
Done → PaidpaidIf a tenant doesn’t have payments enabled, a booking transitions to Paid after it’s completed operationally

Processing payment

processing_payment

A Processing Payment status indicates that that the payment is yet to be received. Depending on the payment method selected for the booking, this process can be finalized automatically or may require manual confirmation by an Admin. For instance, invoice payments always require manual confirmation, whereas credit card payments will be resolved automatically unless a card charge fails.

Available transitionTransition on APITrigger
Processing payment → PaidpaidA payment was confirmed automatically, or an Admin marked a booking as paid manually
Processing payment → CancelledcancelA booking was cancelled

paid

This is the final status of a Booking. Note that a Booking will transition to this status even if payments are disabled for a tenant.

Cancelled

cancelled

This is the final status of a booking if a booking is cancelled by an Admin, Organization Manager, or Customer.