This demo illustrates the full data flow of a shipping integration — from a customer placing an order on the frontend, to the record being written to the database, to the system automatically dispatching a delivery via a third-party Shipping Platform API.
Payment triggers are the key mechanic: the API call only fires when a payment is marked paid in the database. Orders still pending are skipped and logged as SKIP. Both domestic (Malaysia) and international (Singapore)
routes are supported, as well as For Me and For a Friend order types — the latter includes separate sender details in the API payload.
Customer checkout
Delivery destination
Order type
Database — orders table
| order id | recipient | region | type | payment | courier |
|---|---|---|---|---|---|
| ORD-0041 | Ahmad Razif | MY | friend | paid | LALAMOVE_MY |
| ORD-0040 | Priya Nair | SG | me | paid | NINJA_VAN_SG |
| ORD-0039 | Tan Wei Lin | MY | me | pending | — |
Shipping API — event log