Restaurant & menu
Restaurant details
Section titled “Restaurant details”GET /restaurant
{ "name": "Cafe Example", "address": { "line": "12 MG Road", "city": "Lucknow", "state": "Uttar Pradesh" }, "phone": "+91 98765 43210", "gstin": "09ABCDE1234F1Z5"}Values come from Account Details in ALWS RESTRO. Fields the restaurant has not filled in are empty strings.
GET /menu
{ "currency": "INR", "categories": [ { "name": "Drinks", "itemCount": 6 }, { "name": "Starters", "itemCount": 12 } ], "items": [ { "id": "-O4AKRdeH6tptn8IvuDh", "name": "Paneer Tikka", "category": "Starters", "price": 220, "foodType": "veg", "specialMenu": null } ]}| Field | Meaning |
|---|---|
id |
Use this as itemId when ordering. |
category |
The item’s menu type in ALWS RESTRO, or null. |
price |
Price in rupees, before charges and coupons. |
foodType |
veg, egg, nonveg, or null if not set. |
specialMenu |
Name of the special menu the item belongs to, or null. |
The menu matches what staff see at the counter. Items in a special menu that the restaurant has switched off are not returned, and cannot be ordered.
Prices can change at any time in ALWS RESTRO. Always price the cart with POST /orders/quote
before showing a total, and send expectedTotal when placing the order.
Load the menu when the page opens. There is no need to call it on every click; it counts towards your rate limit.
Tables
Section titled “Tables”GET /tables
{ "floors": [ { "floorId": "-O4AKRZk1n", "floorName": "Ground floor", "tables": [ { "tableId": "-O4AKRdeH6", "tableNumber": 1 }, { "tableId": "-O4AKRdeH7", "tableNumber": 2 } ] } ]}Floors and tables are set up in ALWS RESTRO under Dining Setting. ALWS RESTRO does not store how many seats a table has, so the API cannot match tables to party size; see Table bookings.
