Documentation that helps you ship
Explore our API reference, developer tools, open-source components, and exhaustive documentation. Join our vibrant community of developers and technology leaders today.
Commerce Layer provides the complete transactional engine for modern commerce through powerful APIs. We handle the complexity of checkout, payments, inventory, orders management, and fulfillment so you can build shopping experiences that work everywhere — from traditional websites to mobile apps to AI agents making autonomous purchases. Your frontend, your CMS, your channels. Our commerce infrastructure.
Docs-first platform
At Commerce Layer, documentation isn't an afterthought — it's our foundation, the primary interface between our engineering and yours. We treat documentation as a product with the same rigor we apply to our APIs themselves. We believe that great APIs deserve equally great docs, which is why we've invested heavily in creating comprehensive, accurate, and developer-friendly resources. Whether you're building your first integration or architecting a complex multi-market commerce system, our documentation and support are here to give you confidence that you're implementing things correctly.
This developer portal serves as your central hub for exploring everything Commerce Layer has to offer:
Want to get involved? Explore our ecosystem to contribute code, stay updated, and connect with fellow developers.
Ready for the agentic age
As a unified commerce engine that powers any transaction, anywhere, built API-first since day one, Commerce Layer is ready by design to be the enabler of a new era of interactions where AI agents don't just recommend products — they research, compare, and complete purchases autonomously on behalf of users. Enter agentic commerce.
Our architecture enables AI agents to execute every commerce action programmatically. But having accessible APIs is only half the equation for agentic commerce. AI agents also need to understand how to use those APIs correctly, which means they need access to documentation in formats they can effectively consume and reason about. In short terms, documentation must also be AI-ready. That's why Commerce Layer docs follow close behind, offering some features you can leverage out of the box to ensure that AI systems can retrieve and provide accurate, contextual responses in real-time.
LLM-friendly
Large Language Models are becoming increasingly important for information retrieval and knowledge assistance. To make Commerce Layer APIs documentation content available in text-based formats that are easier for LLMs to process, ingest, and work with, you can leverage the following llms.txt files.
Index — contains an index of all the page URLs and titles of our API docs sites, providing a comprehensive list of all available markdown-formatted pages:
Full content — contains the full content of our API docs sites in one file that can be passed to LLMs as context:
On top of that, all of the pages of Commerce Layer docs are automatically available as markdown files. If you add the .md extension to any page, you will see the content of that page rendered in markdown which you can pass to an LLM for more efficient processing than an HTML file.
MCP server
Model Context Protocol gives AI tools a structured way to discover and retrieve your docs as resources — no scraping required. To allow AI assistants to access Commerce Layer APIs documentation content directly, making it easy for tools like Claude Desktop, Cursor, and VS Code extensions to answer questions using the docs, we expose via HTTP an MCP server at the following URL:
Visiting the URL above in your browser will result in an error. Instead, you can share this with tools that can make HTTP requests, like LLMs or IDEs.
Core API
Build comprehensive commerce experiences with our API-first platform. Access hundreds of endpoints and webhooks to add global shopping capabilities — from dynamic pricing and distributed inventory to localized payments and intelligent order management — to any digital experience.
Pre-built applications
Accelerate development with our production-ready commerce micro frontends. These open-source applications integrate seamlessly into your website with a simple link or serve as reference implementations for custom builds. Focus on your unique value while we handle core commerce functionality.
Developer tools
Build fast and stay productive with our comprehensive developer toolkit. From SDKs and CLI tools to component libraries and integrations, we provide everything you need for modern development. Manage resources, automate workflows, and integrate Commerce Layer using your preferred tools and frameworks.
Advanced APIs
Extend your implementation with modular APIs for business analytics, operational insights, and flexible integration. These specialized APIs work alongside Core API to provide deeper control over provisioning, enable custom reporting, and unlock programmatic account management across your organization.
Build with us
Commerce Layer is built in the open, by developers, for developers — because we believe transparency and collaboration create better software. Whether you want to contribute code, stay informed about new features, or connect with our community, we're here to support your journey. Explore our open-source projects, track updates, and join the conversation.