Skip to content

ZynoSales eCommerce SDKBuild a complete storefront in your own UI

Load products, persist carts, quote delivery, apply discounts, and complete payments with Sales-authoritative state.

One SDK, the whole storefront workflow

ts
import { createZynoSales } from '@zyno-io/zynosales-ecommerce-sdk';

const storefront = createZynoSales({
    publishableKey: 'zs_pk_...'
});

const products = await storefront.catalog.getProducts();
await storefront.cart.restore();

const firstProduct = products[0];
if (firstProduct) {
    await storefront.cart.add({ productId: firstProduct.id, qty: 1 });
}
  1. Install and configure
  2. Load products
  3. Create and manage a cart
  4. Collect buyer, delivery, and discounts
  5. Complete card or zero-due orders
  6. Wire lifecycle hooks and handle recovery

Need exact signatures? Use the API reference.

MIT Licensed