Order Operations: Status, Payment & Resi
Advance fulfillment status, mark an order paid (manual methods only), and enter a manual resi from the order detail drawer.
The order detail drawer provides three post-creation operations. These are dashboard session endpoints (`/api/orders/:id/*`), not the `nxk_live` Public API.
Advance fulfillment status
The "Ubah Status Paket" buttons advance fulfillment: **Picking → Packing → Ready Pickup → Shipped → Delivered / Failed Return**.
httpPATCH /api/orders/:id/fulfillmentMark paid
"Tandai Lunas" marks an order paid — **MANUAL payment methods only**. The endpoint refuses provider/Midtrans methods and never fakes the gateway. Reversible with `{ unpaid: true }`. Role: admin/manager.
httpPOST /api/orders/:id/payment/mark-paidManual resi
Enter a manual resi/airwaybill via `PATCH /api/orders/:id/airwaybill`. **Auto-generating an AWB from the courier is not yet available** — manual resi only for now.
httpPATCH /api/orders/:id/airwaybill