Skip to main content
@spree/sdk is the customer-facing SDK — products, carts, checkout, and account flows against the Store API. For back-office integrations (managing products, orders, customers, stock), use the Admin SDK.

Installation

Quick Start

Nested Resources

The SDK uses a resource builder pattern for nested resources:

Pair with AI agents

Building your storefront with an AI coding agent? The Spree agent skills include dedicated SDK and storefront skills (typed clients, Ransack filtering, error handling, custom endpoints), and the docs MCP server gives your agent the full SDK reference on demand. See Agentic Development.