New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@sellbase/sdk

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sellbase/sdk

Typed client for the Sellbase API (browser and server).

latest
Source
npmnpm
Version
0.3.3
Version published
Maintainers
1
Created
Source

@sellbase/sdk

Typed client for the Sellbase API, for browsers, servers and agents. Money is always an integer in minor units; use formatMoney to display it.

import { createSellbase, formatMoney } from '@sellbase/sdk';

const sellbase = createSellbase({ url: process.env.SELLBASE_URL! });
const { data } = await sellbase.products.list();
formatMoney(data[0].min_price_amount!, 'MXN'); // "$349.00"

// Admin and agent routes take a staff session or an sb_live_ token:
const admin = createSellbase({ url, token: process.env.SELLBASE_API_TOKEN });
await admin.admin.orders.search({ fulfillment_status: 'unfulfilled' });

Errors carry code, message and hint (the next concrete action). SEO helpers are included: productJsonLd, productMetadata, catalogSitemap and sitemapXml.

Part of Sellbase, open source commerce that lives inside your project. MIT licensed.

Keywords

sellbase

FAQs

Package last updated on 28 Sep 2026

Related posts