BloomCommerceOS Documentation
Everything you need to build B2B, B2C, Marketplace, Mobile and AI-powered commerce platforms.
Quick start
Jump straight in — pick a starting point. Everything is API-first, so any frontend, channel or AI agent can call the platform.
Getting Started
Set up your environment and make your first call.
📘API Reference
Every endpoint, parameter and response.
🔐Authentication
OAuth2, JWT, API keys and RBAC.
🧰SDKs
Typed SDKs for Java, Node, Python, React & more.
🌐Marketplace APIs
Providers, bookings, commissions, settlements.
✦AI Layer APIs
Assistants, RAG, agents and agentic workflows.
🪝Webhooks
Subscribe to every commerce event.
🛠️Developer Tools
Sandbox, Postman collections and the CLI.
Getting started
Install the SDK and configure your sandbox key — you'll make your first call in under a minute.
# 1. Install
npm install @bloomcommerceos/sdk
# 2. Set your sandbox key
export BLOOM_KEY=sk_test_••••••••
# 3. List orders
node -e "import('@bloomcommerceos/sdk').then(async ({BloomCommerce}) => {
const c = new BloomCommerce({ token: process.env.BLOOM_KEY });
console.log(await c.orders.list({ limit: 2 }));
})"Authentication
BloomCommerceOS supports OAuth2, JWT and API keys, with scoped tokens and RBAC. Pass a bearer token on every request.
Authorization: Bearer sk_live_••••••••
# Scopes: orders:read orders:write catalog:read marketplace:*API reference
Every endpoint follows the same shape — description, parameters, multi-language samples, a sample response and error codes. Here's the Orders endpoint.
SDKs & libraries
Typed SDKs for every major stack — each with installation, configuration, examples, error handling and best practices.