Create or update order
POST
/pos-api/v1/orders/createpos_reference returns the existing order.
Key fields
The
pos_reference field is the idempotency key. Duplicate submissions with the same reference are safe and return the existing order.Reserve NCF
POST
/pos-api/v1/orders/reserve-ncfHub batch sync
POST
/pos-api/v1/hub/batch-syncHub order finalization
POST
/pos-api/v1/hub/finalizecreate_from_ui) inside a database savepoint.
Behaviors
Response
Audit
Each hub finalization is logged as ahub_finalize event in the nu_restaurant_pos.order_audit model.