emenu

Submit a guest order from a QR code

Changed on

Adds the guest's basket to the table's open order, priced from the catalog. A new basket is refused with FORBIDDEN: refusal notAcceptingOrders where the venue's guest ordering is off, the table is browse-only or the business's standing takes no guest orders; featureRestrictedByPlan where the business's plan restricts QR Ordering, or featureNotEntitled where its venue has no plan to decide it; and payBeforeSending where orders here are paid first. Where the venue is set to take payment first but cannot open a new prepayment, the basket is taken unpaid, and is refused with CONFLICT: refusal paymentInProgress while any prepayment at the table is being charged, is still open on a live checkout session, or is still being opened. Where the venue sends guest orders straight to the kitchen, a basket that would be sent is refused with CONFLICT: refusal kitchenDeliveryUnavailable when the venue mints no ticket on a Kitchen Desk its per-location licence lets staff open and some station the basket's items route to would get no queued kitchen slip; nothing of it is kept, so the same request can be retried. A basket already accepted under the same idempotencyKey at this table returns its original order before any of those checks, writing nothing. A basket holding a pass, or one joining an order that holds a pass, is refused with BAD_REQUEST as passNotOnline: a pass is bought at the till.

post/api/public/v1/emenu/orders

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
code, string required
idempotencyKey, string uuid required
lines, object[] required
captchaToken, string
guestToken, string

Response

OK

unknown required

Changes