Full Headless SDK and Provider Components SDKS now available

Summary

We are pleased to share that we have released official the official Spwig Headless SDK and SDKs for common components.

Details

Spwig Headless SDK

The official TypeScript SDK for building headless storefronts with Spwig eCommerce.

Build your storefront with Next.js, Nuxt, SvelteKit, Remix, Astro, or any framework — Spwig handles everything else: products, orders, payments, shipping, and more.

Features

  • Zero dependencies — uses native fetch (Node 18+, Deno, Bun, Cloudflare Workers, browsers)

  • Fully typed — auto-generated TypeScript types from the Spwig OpenAPI schema

  • Modular API — catalog, cart, checkout, orders, auth, wishlist, loyalty, search, webhooks

  • Error handling — typed error classes for validation, auth, timeout, and network errors

  • Webhook verification — built-in HMAC-SHA256 signature verification

  • Multi-language & multi-currency — first-class i18n and currency switching support

Spwig Provider SDKs

Build integrations that connect Spwig eCommerce stores to external services — payments, shipping, email, SMS, and more.

Each SDK provides a base class, an example implementation, a development guide, and a JSON schema for the provider manifest. Build your provider, test it locally, and publish it to the Spwig Marketplace.

Provider Types

| SDK | What it does | Complexity |

|-----|-------------|------------|

| Payment | Process payments, refunds, and webhooks (Stripe, Adyen, etc.) | Very High |

| Shipping | Calculate rates, create labels, track parcels | High |

| Terminal | Connect POS hardware terminals for in-store payments | High |

| Email | Send transactional and marketing emails | Medium |

| SMS | Send order notifications and OTP codes | Medium |

| Payout | Disburse affiliate payouts | Medium |

| Social Connector | Auto-share blog posts to social platforms | Medium |

| License Server | Issue and validate software license keys | Medium |

| Product Feed | Export product catalogs to Google, Meta, etc. | Medium |

| Exchange Rate | Fetch live currency exchange rates | Low |

Resources

Questions?

Reply below with any questions or concerns.