How to build: notify owner
implemented
Not a frontend URL. Runs inside place order and status updates.
| Channel | Module | ENV to activate |
|---|---|---|
| Tray (Core notification entity) | tray-notification.js | PLUGIN_NELLALINK_INIT_CORE_BACKEND_URL, PLUGIN_NELLALINK_INIT_CORE_BACKEND_X_API_KEY |
email-notification.js | PLUGIN_NELLALINK_INIT_MAIL_* | |
| Push | push-notification.js | PLUGIN_NELLALINK_INIT_ONE_SIGNAL_BEARER_TOKEN |
| Owner app inbox | Core GET .../notification/user/{uuid} | User App VITE_CORE_BACKEND_*, VITE_ONE_SIGNAL_APP_ID |
Flow: Front-facing submit → Middleware → Core notification row for the business owner → User App inbox. Guest is not a Core user.
Recommend on Core: the Middleware service key may create notifications only for the owner of the menu's owned_by. Do not allow a public browser key to POST notifications for arbitrary users.