Table of Contents

Order Update

There is no Order Update operation in the integration flow.

Do not confuse Order Update with the Status update used within nce/order-creation.md flow.

Order Cancellation

There is no order cancellation flow in the POS Open API integration.

For Hub orders originating from a marketplace platform, a customer may cancel an order directly from the marketplace application.

When a cancellation occurs:

  1. A cancellation notification is sent to the restaurant tablet to improve operational response time.
  2. The restaurant must manually cancel the order in the POS.
  3. No cancellation message is sent through the integration API, and no automated POS cancellation is performed.

Important: Order cancellation notifications displayed on the restaurant tablet are informational only and do not update the order status in the POS system.

Sequence Diagram

sequenceDiagram

    participant HUB as HUB
    
    participant UEAT as UEAT

    participant POS as POS

    HUB->>UEAT: Send order (POST)  

    UEAT->>POS: Send order (POST)

    POS-->>UEAT: Acknowledge receipt (HTTP status)

    POS->>UEAT: Return Order Status (PUT)

    UEAT-->>POS: Acknowledge status (if errors)

    HUB->>UEAT: Cancel order (POST)

UEAT will inform the restaurant of the cancelled order with a Notification on the tablet. The Restaurant still has to cancel the order manually in the POS.