StoreKitdocs

Introduction

Build fast, custom storefronts on the StoreKit Storefront API and the type-safe @usestorekit/sdk.

StoreKit gives you two things to build a storefront:

  1. The Storefront API — a universal, framework-agnostic HTTP API for everything a shop needs: products, categories, search, carts, checkout, payments, and customer accounts.
  2. The SDK (@usestorekit/sdk) — a type-safe client that wraps the API with autocomplete, sensible defaults, and framework adapters so you write less plumbing.

New here?

Jump straight to the Next.js quickstart and have a storefront talking to the API in about five minutes.

Which one should I use?

Use the SDK if you're building with JavaScript or TypeScript — it's the fastest, safest path and handles auth, sessions, carts, and payments for you.

Use the API directly if you're on another language/runtime, or you want full control. Every SDK method maps 1:1 to an API endpoint, so you can always drop down a level. The interactive API Reference lets you try every endpoint from your browser.

Framework support

The API is universal. The SDK ships adapters per framework:

Until your framework's adapter lands, you can use the framework-agnostic core client today — it works in any JavaScript runtime.

How the docs are organized

On this page