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
Per-order auto-AWB via POST generate-awb; COD manual-only.
httpPATCH /api/orders/:id/airwaybill