The Order Flow
This guide describes a typical order flow and the sequence of events expected from YUMBI Gateway. The complete flow is shown in the diagram below:
sequenceDiagram
participant Gateway
participant POS
Gateway->>POS: Order Notification
activate POS
POS->>Gateway: Fetch order
Gateway-->>POS: Order details returned
POS->>POS: Process Order
POS->>Gateway: Order accepted
deactivate POS
The above flow can happen synchronously or asynchronously. In other words, the POS can response immediately to the order notification and process the order in the background or the order can be processed while the order notification web request is still open.
Updated 7 months ago
