delivery-app

Delivery Platform

Reusable delivery system for Easy Mandi and future projects.

Implemented

Operating flow

  1. Sign in on the delivery admin web page with the Easy Mandi admin password.
  2. Import an existing Easy Mandi order ID, or upload/paste a JSON cart with an external reference, customer mobile, name and address.
  3. Create a partner account and assign the delivery. Share credentials privately with the partner.
  4. Choose Issue customer code. Open the WhatsApp link and send the code to the customer’s number; opening a link does not send a message automatically. The code expires after 24 hours; a new code invalidates the previous one.
  5. The partner marks pickup and out for delivery. At handoff, the customer gives the code to the partner, who enters it in the app.
  6. Successful server verification marks delivered and records inbox notifications for admin, partner and customer. Refresh the apps to see changes.

Manual carts accept items and quantities. No payment collection amount is taken from an uploaded cart.

Verification and limits

The server health check and unauthorized request responses have been verified. A complete end-to-end delivery needs an actual Easy Mandi order, admin password, and provisioned partner; these credentials are not stored in this repository. Android workflows build APK artifacts; check the workflow result before installing.

Easy Mandi accounts do not currently verify ownership of a mobile number. For this reason the handoff code is issued only by the admin and must be sent to the intended customer through a trusted channel. Customer account tracking returns limited order status. Notification records are in-app inbox data refreshed by the clients; push alerts and automatic SMS are not implemented.

See API contract and server schema.

Easy Mandi payment status

For Easy Mandi-sourced deliveries, the delivery service reads the payment record from the Easy Mandi backend. Delivery admin, customer tracking and the partner app show the payment method/status and order amount.