How to build: orders and notifications
partial User App /notification, /notification/:id.
Owner inbox after a guest submits an order. Middleware writes a Core notification and can send email / push. Owner accept/decline should call Middleware admin update — User App currently calls a path that does not exist.
Guest checkout → Middleware place order → Core notification + email/push
Owner opens inbox → GET notifications → accept/decline1. List notifications
Core Backend · winnerimplemented
Call this API
GET https://backend-test.nellalink.com/public/api/v1/nellalink/notification/user/{userUuid}
Also: unread-count, read, read-all, device register (notification-setting/user/{userId}) for OneSignal.
userUuid must match the JWT.
2. Accept / decline order
Middleware Backend · winnerpartial — frontend drift
Call this API
PUT https://middleware-dev.nellalink.com/plugins/nellalink/nellalink-init/admin/order/update/{order_id}
Guest-side updates (if you add them on Front-facing):
PUT https://middleware-dev.nellalink.com/plugins/nellalink/nellalink-init/guest/order/update/{order_id}
Do not call (superseded / never shipped on Middleware):PUT .../plugins/nellalink/nellalink-init/order/update/{notificationId} — User App endpoints.notification.updateStatus still points here. Switch the User App to the admin winner above.
Details: Owner updates order.