WrenoraDocs
Dashboard

Takeaway

Our terrace is open from spring to autumn, with heaters for cooler evenings. We listen first, then build a plan around what you actually need.

6 min read Updated Jan 4, 2026 v2.4.4

Overview

We measure success by how many guests come back and tell their friends. Our menu changes with the seasons and the best produce from nearby farms. Our sommelier has paired each dish with wines from small family vineyards. Bread is baked every morning and pasta is rolled by hand in our kitchen.

Installation

Install the SDK with the package manager your project already uses. It needs Node 18 or newer.

terminal
$ npm install @wrenora/sdk
terminal
$ yarn add @wrenora/sdk
terminal
$ pnpm add @wrenora/sdk
Using a server without Node? The same endpoints are available over plain HTTPS; see the API reference below.

Configuration

Start in minutes and get help from a real person whenever you need it. Vegan, vegetarian and gluten-free dishes are marked clearly on every menu. Create a file named wrenora.config.json in the project root:

wrenora.config.json
{
  "project": "wrenora",
  "region": "ap-south",
  "categories": ["starters", "mains", "desserts"],
  "retries": 2,
  "timeoutMs": 4000,
  "webhooks": { "enabled": true }
}
OptionTypeDefaultDescription
projectstring-Your project key from the dashboard.
regionstring"us-east"Data centre closest to your guests.
retriesnumber3How often a failed call is retried.
timeoutMsnumber10000Time before a request is cancelled.
webhooks.enabledbooleanfalseSend events to your endpoint.

Your first request

We have been feeding this neighbourhood for over a decade, and we still love it.

  1. Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
  2. Store it safelyKeep the key in an environment variable, never in your source code.
  3. Make the callRun the snippet below; it prints the first page of results.
index.js
import { Client } from "@wrenora/sdk";

const client = new Client({ apiKey: process.env.API_KEY });

// list the newest dishs in one category
const page = await client.dishs.list({ category: "starters", limit: 20 });

for (const item of page.data) {
  console.log(item.name, item.price);
}
Heads up: test keys only return sample data. Switch to a live key before you go to production.

API reference

Every endpoint returns JSON and uses standard HTTP status codes.

GET/v1/dishesList dishes with paging and filters.
POST/v1/dishesCreate a new dish.
PATCH/v1/dishes/{id}Update some fields of a dish.
DELETE/v1/dishes/{id}Archive a dish; it can be restored for 30 days.
response.json
{
  "data": [
    { "id": "dish_5266", "name": "Chocolate tart", "price": 183 }
  ],
  "has_more": true
}

Troubleshooting

Children are always welcome, with a menu made just for them. Private dining rooms seat up to forty guests for birthdays and business dinners.

Every dish is cooked to order, so tell us if you would like anything changed. We keep things simple, so you can focus on what matters to you.

Cooking classes on Saturday mornings teach you our favourite recipes. Every detail is handled by people who care about getting it right.

Next steps

Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

Was this page helpful?
All screens