Skip to main content

OrderState Object Type

OrderState provides the state of the order from the merchant’s perspective. A pickup order can typically have the following states.

Type#

enum OrderStateType {
CREATED = 'created',
READY = 'ready',
DELAYED = 'delayed',
DELIVERY_DISPATCHED = 'delivery_dispatched',
DRIVER_ASSIGNED = 'driver_assigned',
DELIVERY_FAILED = 'delivery_failed',
PICKED_UP = 'picked_up',
OUT_FOR_DELIVERY = 'out_for_delivery',
UNDELIVERABLE = 'undeliverable',
CANCELLED = 'cancelled',
COMPLETED = 'completed',
}