Skip to content

Changelog

All optional, existing requests work unchanged:

  • items[].note (any key): a note per line, shown under the item in ALWS RESTRO. Lines are merged by item and note. Quote lines and order items now include note.
  • extraCharges (secret key only) on POST /orders/quote and POST /orders: up to 5 fixed-amount charges, such as a delivery fee. Quotes now include extraCharges and extraChargesTotal.
  • externalRef (secret key only) on POST /orders: your own order number, used as orderNumber, unique per business (409 duplicate_external_ref). GET /orders accepts ?externalRef=.
  • deliveryAddress.distanceKm (any key): shown on the order in ALWS RESTRO and returned in deliveryAddress.distanceKm.
  • scheduledFor can be up to 30 days ahead with a secret key (7 days with a publishable key), and is shown to staff as India time.

Added: WhatsApp one-time codes (POST /otp/send, POST /otp/verify, secret key only).

Same day, before wide use: per-visitor limits for publishable keys, a 4-hour maximum booking length, at most 2 upcoming bookings per phone for publishable keys, and order_cancelled_refund_required for payments that arrive after a cancel.

First version:

  • restaurant details, menu and tables;
  • cart pricing with the restaurant’s charges and coupons;
  • pickup and delivery orders, cash or online payment (marked paid by your server with a secret key);
  • order status, cancellation and order list;
  • table availability, booking, reading and cancellation;
  • publishable and secret keys created in ALWS RESTRO, with allowed websites, rate limits and safe retries.

Write your code so it ignores response fields it does not recognise; new optional fields may be added to v1.