StoreOSv0.15.0

Introduction

Understand StoreOS, the API, and the storefront package — then build your shop.

The big picture

StoreOS runs the API (catalog, orders, auth). The SDK connects it to your storefront app — and your customers shop your store.

PieceWhat it isWho provides it
Storefront APIHosted backend — your products, orders, store settingsStoreOS
@storeos/storefront-clientSDK wired to that API — fetch catalog, checkout, auth with typed methodsStoreOS (you install in your app)
Your storefront appPages, design, cart UI, deployYou

You don't run the backend or wire HTTP yourself. Install the SDK, pass your tenant UID, call getProducts() — your catalog appears in your app.


What the API does

The StoreOS Storefront API is how your app reads and writes commerce data. It is grouped into four areas:

AreaWhat it doesExample in your app
CatalogProducts and collections customers browseShop page, product detail
Store configDelivery charges, support info, policiesCheckout totals, footer
AuthCustomer sign-up, login, phone OTP/auth, account page
OrdersPlace orders, track status, cancelCheckout, order history

Two ways to call the same backend:

SurfaceBest for
REST + @storeos/storefront-clientMost storefront apps — recommended
GraphQLCustom queries, existing GraphQL tooling

Interactive reference: storefront-api.storeos.dev/docs

Service health: status page


What the SDK does

@storeos/storefront-client is the bridge between your app and StoreOS. It is built to work with the Storefront API out of the box:

  • getProducts() → your published products in the shop
  • getProduct({ handle }) → product detail pages
  • createOrder() → checkout completes on StoreOS
  • login() / verifyOtp() → customers sign in to your store

The SDK handles API URLs, your tenant UID, and auth headers. You focus on UI. Pages and design are yours; the optional React SDK also includes cart + auth providers. See package vs your app.


Launch your storefront

bun create next-app my-store && cd my-store
bun add @storeos/storefront-client

Set NEXT_PUBLIC_SITE_API_TENANT, create a StoreFront client, fetch products, build pages, deploy.

Getting started — full walkthrough


Documentation map

SectionWhat you'll learn
Getting startedCreate app, install package, configure, first request
TypeScript SDKWhat @storeos/storefront-client is and how to configure it
SDK methodsREST methods — catalog, auth, checkout, orders
React SDKProviders, hooks, GraphQL helpers for React / Next.js
REST APIHTTP routes, headers, and Swagger
GraphQL APIQueries and mutations (alternative to REST)
GuidesCheckout and phone OTP end-to-end
RoadmapWhat's available today

On this page