SageDocs
Dashboard

Live order tracking

New pieces arrive every month, and the best ones sell out fast. Every detail is handled by people who care about getting it right.

10 min read Updated Dec 2, 2025 v2.9.5

Overview

Gift wrapping and a handwritten note are free on every order. Order before 2 pm and most items leave our warehouse the same day. Every piece is made in small batches from materials we test ourselves.

Installation

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

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

Configuration

Pay securely with card, wallet or in three interest-free instalments. We listen first, then build a plan around what you actually need. Create a file named sage.config.json in the project root:

sage.config.json
{
  "project": "sage",
  "region": "ap-south",
  "categories": ["apparel", "home", "accessories"],
  "retries": 3,
  "timeoutMs": 12000,
  "webhooks": { "enabled": true }
}
OptionTypeDefaultDescription
projectstring-Your project key from the dashboard.
regionstring"us-east"Data centre closest to your shoppers.
retriesnumber3How often a failed call is retried.
timeoutMsnumber10000Time before a request is cancelled.
webhooks.enabledbooleanfalseSend events to your endpoint.

Your first request

New pieces arrive every month, and the best ones sell out fast.

  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 "@sage/sdk";

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

// list the newest products in one category
const page = await client.products.list({ category: "apparel", 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/productsList products with paging and filters.
POST/v1/productsCreate a new product.
PATCH/v1/products/{id}Update some fields of a product.
DELETE/v1/products/{id}Archive a product; it can be restored for 30 days.
response.json
{
  "data": [
    { "id": "product_2593", "name": "Ceramic mug", "price": 194 }
  ],
  "has_more": true
}

Troubleshooting

Every piece is made in small batches from materials we test ourselves. Thousands of shoppers already trust us, and we work hard to keep it that way.

We keep things simple, so you can focus on what matters to you. Members get early access to new drops and prices only they can see.

Thousands of five-star reviews from customers who came back for more. Order before 2 pm and most items leave our warehouse the same day.

Next steps

Start in minutes and get help from a real person whenever you need it.

Was this page helpful?
All screens