Developer resources
Developer resources
Subbly gives you two HTTP APIs, a browser SDK and a drop-in cart widget. The articles in this tab show you how to install and manage the SDK and the widget. The references list every method, event and setting.
SDKs and widgets
- Subbly.js SDK —
@subbly/sdk. A browser client for the Storefront API. It holds one cart per page and keeps the cart ID and the customer's access token in cookies. Install it from npm or load it from a CDN. Install and manage · Run a funnel · Reference - SubblyCart.js widget —
@subbly/cart. A drop-in cart, product configurator and checkout for any website. One script tag loads it fromhttps://assets.subbly.co/cart/cart-widget.js. Install and manage · Reference - Subbly's MCP server — a Model Context Protocol server at
https://mcp.subbly.dev/mcpthat exposes the Private API as tools, so an AI agent such as Claude Code, Cursor or VS Code can manage your shop. Connect · Tools
APIs
- Storefront API. Public endpoints for carts, checkout, customers and subscriptions, called with a Storefront API key. Reference · Authentication
- Private API. Admin endpoints for products, orders, invoices, coupons and more, called from your backend with a private key. Reference · Authentication
Help
Ask a question or get help from Subbly support.
Last modified on