Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

docs: add versioning and canary docs with Welcome page and warning banner

vholik6049718850ca
diff --git a/apps/docs/canary/blocks.mdx b/apps/docs/canary/blocks.mdx
new file mode 100644
index 000000000..f22093a59
--- /dev/null
+++ b/apps/docs/canary/blocks.mdx
@@ -0,0 +1,57 @@
+---
+title: "Blocks"
+description: "Reusable code pieces you can install into your marketplace project."
+---
+
+<Snippet file="canary-warning.mdx" />
+
+Blocks are the building units of a Mercur 2.0 marketplace. Each block is a self-contained piece of functionality — a module, workflow, API route, link, or UI extension — that gets copied directly into your project.
+
+## Block types
+
+<CardGroup cols={3}>
+ <Card title="Modules" icon="database">
+ Data models and business logic. Define entities, services, and database schemas.
+ </Card>
+ <Card title="Workflows" icon="arrow-progress">
+ Multi-step business processes with compensation logic and extension hooks.
+ </Card>
+ <Card title="API Routes" icon="route">
+ HTTP endpoints for Admin, Vendor, and Store APIs.
+ </Card>
+ <Card title="Links" icon="link">
+ Relationships between modules that enable cross-domain queries.
+ </Card>
+ <Card title="Admin Extensions" icon="table-columns">
+ Widgets and pages for the admin dashboard.
+ </Card>
+ <Card title="Vendor Extensions" icon="store">
+ Widgets and pages for the vendor portal.
+ </Card>
+</CardGroup>
+
+## Installing blocks
+
+```bash
+# Search for blocks
+npx @mercurjs/cli@canary search
+
+# Add specific blocks
+npx @mercurjs/cli@canary add reviews commission
+
+# Check for upstream changes
+npx @mercurjs/cli@canary diff reviews
+```
+
+## Available blocks
+
+| Block | Type | Description |
+|---|---|---|
+| `reviews` | Module + Workflows + API | Product and seller review system |
+| `commission` | Module + Workflows | Commission rules and calculations |
+| `requests` | Module + Workflows + API | Product moderation and approval flows |
+| `order-return-request` | Module + Workflows | Return request escalation handling |
+| `wishlist` | Module + API | Customer wishlists |
+| `payout` | Module + Workflows | Vendor payout processing |
+| `attributes` | Module + Links | Custom product attributes |
+| `secondary-categories` | Module + Links | Alternative category trees |
diff --git a/apps/docs/canary/quick-start.mdx b/apps/docs/canary/quick-start.mdx
new file mode 100644
index 000000000..898b2ff2a
--- /dev/null
+++ b/apps/docs/canary/quick-start.mdx
@@ -0,0 +1,46 @@
+---
+title: "Quick Start"
+description: "Create a new Mercur 2.0 marketplace project using the CLI."
+---
+
+<Snippet file="canary-warning.mdx" />
+
+## Create a new project
+
+```bash
+npx @mercurjs/cli@canary create my-marketplace
+```
+
+The CLI will guide you through template selection, database configuration, and dependency installation.
+
+## Add blocks
+
+Browse and install blocks — the building units of your marketplace:
+
+```bash
+# Search available blocks
+npx @mercurjs/cli@canary search
+
+# Add blocks to your project
+npx @mercurjs/cli@canary add reviews commission requests
+```
+
+## Start developing
+
+```bash
+cd my-marketplace
+yarn dev
+```
+
+Your marketplace backend will be running at `http://localhost:9000`.
+
+## What's next?
+
+<CardGroup cols={2}>
+ <Card title="Browse Blocks" icon="cubes" href="/canary/blocks">
+ Explore all available modules, workflows, and extensions.
+ </Card>
+ <Card title="CLI Reference" icon="terminal" href="/cli-installation">
+ Learn all CLI commands and options.
+ </Card>
+</CardGroup>
diff --git a/apps/docs/canary/welcome.mdx b/apps/docs/canary/welcome.mdx
new file mode 100644
index 000000000..257d438ca
--- /dev/null
+++ b/apps/docs/canary/welcome.mdx
@@ -0,0 +1,48 @@
+---
+title: "Welcome to Mercur 2.0"
+sidebarTitle: "Welcome"
+description: "The open-source marketplace engine, rebuilt from the ground up. Modular blocks, CLI-first workflow, and full code ownership."
+---
+
+<Snippet file="canary-warning.mdx" />
+
+Mercur 2.0 is a complete rethink of how marketplace platforms should work. Instead of installing monolithic plugins, you pick and install individual **blocks** — modules, workflows, API routes, and UI extensions — directly into your project. You own every line of code.
+
+## Get Started
+
+<CardGroup cols={3}>
+ <Card title="Quick Start" icon="rocket" href="/canary/quick-start">
+ Create a new marketplace project in minutes using the Mercur CLI.
+ </Card>
+ <Card title="CLI Installation" icon="terminal" href="/cli-installation">
+ Install and configure the @mercurjs/cli tool for your environment.
+ </Card>
+ <Card title="What's New in 2.0" icon="sparkles" href="/canary/whats-new">
+ See what changed from 1.x and why we rebuilt Mercur from scratch.
+ </Card>
+</CardGroup>
+
+## Explore the Platform
+
+<CardGroup cols={2}>
+ <Card title="Blocks" icon="cubes" href="/canary/blocks">
+ Browse available modules, workflows, links, and extensions you can add to your project.
+ </Card>
+ <Card title="Core Concepts" icon="book" href="/core-concepts/seller">
+ Understand sellers, commissions, order splitting, payouts, and marketplace logic.
+ </Card>
+</CardGroup>
+
+## Developer Resources
+
+<CardGroup cols={3}>
+ <Card title="API Reference" icon="code" href="/api-reference">
+ Explore Admin, Vendor, and Store API endpoints with examples.
+ </Card>
+ <Card title="Integrations" icon="plug" href="/integrations/stripe">
+ Connect Stripe, Algolia, Resend, and more to your marketplace.
+ </Card>
+ <Card title="Help & Support" icon="life-ring" href="/help/support">
+ Get help via Discord, GitHub Discussions, or LLM-assisted docs.
+ </Card>
+</CardGroup>
diff --git a/apps/docs/canary/whats-new.mdx b/apps/docs/canary/whats-new.mdx
new file mode 100644
index 000000000..973bef58c
--- /dev/null
+++ b/apps/docs/canary/whats-new.mdx
@@ -0,0 +1,39 @@
+---
+title: "What's New in 2.0"
+description: "Key changes and improvements from Mercur 1.x to 2.0."
+---
+
+<Snippet file="canary-warning.mdx" />
+
+## Block-based architecture
+
+Mercur 2.0 replaces monolithic plugin packages with **blocks** — individual pieces of code installed directly into your project via the CLI, similar to shadcn/ui.
+
+| | 1.x | 2.0 |
+|---|---|---|
+| **Installation** | npm packages | CLI-installed blocks |
+| **Code ownership** | node_modules | Your source tree |
+| **Customization** | Override/extend | Edit directly |
+| **Updates** | Package upgrades | `mercurjs diff` to review changes |
+
+## CLI-first workflow
+
+The new `@mercurjs/cli` provides commands for every step of the development lifecycle:
+
+- `mercurjs create` — scaffold a new project
+- `mercurjs add` — install blocks from the registry
+- `mercurjs diff` — compare local changes against upstream
+- `mercurjs search` — discover available blocks
+- `mercurjs codegen` — generate TypeScript types from API routes
+
+## New block types
+
+In addition to modules and workflows, 2.0 introduces:
+
+- **Links** — define relationships between modules
+- **Admin Extensions** — customize the admin dashboard
+- **Vendor Extensions** — customize the vendor portal
+
+## Migration from 1.x
+
+If you're upgrading from 1.x, start a fresh 2.0 project and selectively add the blocks you need. The underlying Medusa framework and data models remain compatible.
diff --git a/apps/docs/docs.json b/apps/docs/docs.json
index 75f13f60a..320032f14 100644
--- a/apps/docs/docs.json
+++ b/apps/docs/docs.json
@@ -23,306 +23,635 @@
"url": "https://www.mercurjs.com"
},
"navigation": {
- "tabs": [
+ "versions": [
{
- "tab": "Docs",
- "groups": [
+ "version": "1.x",
+ "default": true,
+ "tabs": [
{
- "group": "Quick start",
- "pages": [
- "introduction",
- "get-started"
- ]
- },
- {
- "group": "Components",
- "pages": [
- "components/backend",
- "components/admin-panel",
- "components/vendor-panel",
- "components/storefront"
- ]
- },
- {
- "group": "Core Concepts",
- "pages": [
- "core-concepts/seller",
- "core-concepts/order-splitting",
- "core-concepts/payouts",
- "core-concepts/commission",
- "core-concepts/marketplace-settings",
- "core-concepts/requests",
- "core-concepts/reviews",
- "core-concepts/notifications"
- ]
- },
- {
- "group": "Product",
- "pages": [
- "product/framework",
- "product/core-commerce-modules",
- "product/core-infrastructure-modules",
+ "tab": "Docs",
+ "groups": [
+ {
+ "group": "Quick start",
+ "pages": [
+ "introduction",
+ "get-started"
+ ]
+ },
+ {
+ "group": "Components",
+ "pages": [
+ "components/backend",
+ "components/admin-panel",
+ "components/vendor-panel",
+ "components/storefront"
+ ]
+ },
{
- "group": "Mercur marketplace modules",
+ "group": "Core Concepts",
"pages": [
+ "core-concepts/seller",
+ "core-concepts/order-splitting",
+ "core-concepts/payouts",
+ "core-concepts/commission",
+ "core-concepts/marketplace-settings",
+ "core-concepts/requests",
+ "core-concepts/reviews",
+ "core-concepts/notifications"
+ ]
+ },
+ {
+ "group": "Product",
+ "pages": [
+ "product/framework",
+ "product/core-commerce-modules",
+ "product/core-infrastructure-modules",
{
- "group": "Core",
+ "group": "Mercur marketplace modules",
"pages": [
{
- "group": "Attribute module",
- "pages": [
- "product/modules/b2c-core/attribute/attribute-concept",
- "product/modules/b2c-core/attribute/attribute-links",
- "product/modules/b2c-core/attribute/attributes-data-models-ref",
- "product/modules/b2c-core/attribute/attributes-services"
- ]
- },
- {
- "group": "Configuration module",
+ "group": "Core",
"pages": [
- "product/modules/b2c-core/configuration/configuration-concept",
- "product/modules/b2c-core/configuration/configuration-data-models-ref",
- "product/modules/b2c-core/configuration/configuration-services"
+ {
+ "group": "Attribute module",
+ "pages": [
+ "product/modules/b2c-core/attribute/attribute-concept",
+ "product/modules/b2c-core/attribute/attribute-links",
+ "product/modules/b2c-core/attribute/attributes-data-models-ref",
+ "product/modules/b2c-core/attribute/attributes-services"
+ ]
+ },
+ {
+ "group": "Configuration module",
+ "pages": [
+ "product/modules/b2c-core/configuration/configuration-concept",
+ "product/modules/b2c-core/configuration/configuration-data-models-ref",
+ "product/modules/b2c-core/configuration/configuration-services"
+ ]
+ },
+ {
+ "group": "Marketplace module",
+ "pages": [
+ "product/modules/b2c-core/marketplace/marketplace-concept",
+ "product/modules/b2c-core/marketplace/marketplace-links",
+ "product/modules/b2c-core/marketplace/marketplace-data-model-reference",
+ "product/modules/b2c-core/marketplace/marketplace-service"
+ ]
+ },
+ {
+ "group": "Payout module",
+ "pages": [
+ "product/modules/b2c-core/payout/payout-concept",
+ "product/modules/b2c-core/payout/payout-links",
+ "product/modules/b2c-core/payout/payout-data-model-reference",
+ "product/modules/b2c-core/payout/payout-services"
+ ]
+ },
+ {
+ "group": "Secondary Category Module",
+ "pages": [
+ "product/modules/b2c-core/secondary-categories/secondary-categories-concept",
+ "product/modules/b2c-core/secondary-categories/secondary-category-links",
+ "product/modules/b2c-core/secondary-categories/sec-cat-data-model-reference",
+ "product/modules/b2c-core/secondary-categories/secondary-category-services"
+ ]
+ },
+ {
+ "group": "Seller module",
+ "pages": [
+ "product/modules/b2c-core/seller/seller-concept",
+ "product/modules/b2c-core/seller/seller-module-options",
+ "product/modules/b2c-core/seller/seller-links",
+ "product/modules/b2c-core/seller/seller-data-model-reference",
+ "product/modules/b2c-core/seller/seller-services"
+ ]
+ },
+ {
+ "group": "Split Order Payment Module",
+ "pages": [
+ "product/modules/b2c-core/split-order-payment/split-order-payment-concept",
+ "product/modules/b2c-core/split-order-payment/split-order-links",
+ "product/modules/b2c-core/split-order-payment/split-order-data-model-reference",
+ "product/modules/b2c-core/split-order-payment/split-order-services"
+ ]
+ },
+ {
+ "group": "Taxcode module",
+ "pages": [
+ "product/modules/b2c-core/taxcode/taxcode-concept",
+ "product/modules/b2c-core/taxcode/taxcode-links",
+ "product/modules/b2c-core/taxcode/taxcode-data-model-reference",
+ "product/modules/b2c-core/taxcode/taxcode-services"
+ ]
+ },
+ {
+ "group": "Wishlist module",
+ "pages": [
+ "product/modules/b2c-core/wishlist/wishlist-concept",
+ "product/modules/b2c-core/wishlist/wishlist-links",
+ "product/modules/b2c-core/wishlist/wishlist-data-model-reference",
+ "product/modules/b2c-core/wishlist/wishlist-services"
+ ]
+ }
]
},
{
- "group": "Marketplace module",
+ "group": "Commission",
"pages": [
- "product/modules/b2c-core/marketplace/marketplace-concept",
- "product/modules/b2c-core/marketplace/marketplace-links",
- "product/modules/b2c-core/marketplace/marketplace-data-model-reference",
- "product/modules/b2c-core/marketplace/marketplace-service"
+ {
+ "group": "Commission module",
+ "pages": [
+ "product/modules/commission/commission/commission-concept",
+ "product/modules/commission/commission/commission-data-model-reference",
+ "product/modules/commission/commission/commission-services"
+ ]
+ }
]
},
{
- "group": "Payout module",
+ "group": "Requests",
"pages": [
- "product/modules/b2c-core/payout/payout-concept",
- "product/modules/b2c-core/payout/payout-links",
- "product/modules/b2c-core/payout/payout-data-model-reference",
- "product/modules/b2c-core/payout/payout-services"
+ {
+ "group": "Request module",
+ "pages": [
+ "product/modules/requests/requests/requests-concept",
+ "product/modules/requests/requests/requests-links",
+ "product/modules/requests/requests/request-data-model-reference",
+ "product/modules/requests/requests/requests-services"
+ ]
+ },
+ {
+ "group": "Order Return Request module",
+ "pages": [
+ "product/modules/requests/order-return-request/order-return-request",
+ "product/modules/requests/order-return-request/order-return-request-links",
+ "product/modules/requests/order-return-request/order-return-request-data-model-reference",
+ "product/modules/requests/order-return-request/order-return-request-services"
+ ]
+ }
]
},
{
- "group": "Secondary Category Module",
+ "group": "Reviews",
"pages": [
- "product/modules/b2c-core/secondary-categories/secondary-categories-concept",
- "product/modules/b2c-core/secondary-categories/secondary-category-links",
- "product/modules/b2c-core/secondary-categories/sec-cat-data-model-reference",
- "product/modules/b2c-core/secondary-categories/secondary-category-services"
+ {
+ "group": "Reviews module",
+ "pages": [
+ "product/modules/reviews/reviews/reviews-concept",
+ "product/modules/reviews/reviews/review-links",
+ "product/modules/reviews/reviews/review-data-model-reference",
+ "product/modules/reviews/reviews/review-service"
+ ]
+ }
]
- },
+ }
+ ]
+ },
+ {
+ "group": "Workflows",
+ "pages": [
{
- "group": "Seller module",
+ "group": "Core",
"pages": [
- "product/modules/b2c-core/seller/seller-concept",
- "product/modules/b2c-core/seller/seller-module-options",
- "product/modules/b2c-core/seller/seller-links",
- "product/modules/b2c-core/seller/seller-data-model-reference",
- "product/modules/b2c-core/seller/seller-services"
+ "docs/product/workflows/core/price-list-workflows",
+ "docs/product/workflows/core/attribute",
+ "docs/product/workflows/core/campaign-workflows",
+ "docs/product/workflows/core/cart-workflows",
+ "docs/product/workflows/core/configuration-workflows",
+ "docs/product/workflows/core/customer-groups-workflows",
+ "docs/product/workflows/core/fulfillment-set-workflows",
+ "docs/product/workflows/core/order-workflows",
+ "docs/product/workflows/core/order-set-workflows",
+ "docs/product/workflows/core/payout-workflows",
+ "docs/product/workflows/core/product-workflows",
+ "docs/product/workflows/core/promotions-workflows",
+ "docs/product/workflows/core/seller-workflows",
+ "docs/product/workflows/core/split-order-payment",
+ "docs/product/workflows/core/wishlist-workflows",
+ "docs/product/workflows/core/common-workflows",
+ "docs/product/workflows/core/hooks"
]
},
{
- "group": "Split Order Payment Module",
+ "group": "Commission",
"pages": [
- "product/modules/b2c-core/split-order-payment/split-order-payment-concept",
- "product/modules/b2c-core/split-order-payment/split-order-links",
- "product/modules/b2c-core/split-order-payment/split-order-data-model-reference",
- "product/modules/b2c-core/split-order-payment/split-order-services"
+ "docs/product/workflows/commission/commission-workflows"
]
},
{
- "group": "Taxcode module",
+ "group": "Requests",
"pages": [
- "product/modules/b2c-core/taxcode/taxcode-concept",
- "product/modules/b2c-core/taxcode/taxcode-links",
- "product/modules/b2c-core/taxcode/taxcode-data-model-reference",
- "product/modules/b2c-core/taxcode/taxcode-services"
+ "docs/product/workflows/requests/requests",
+ "docs/product/workflows/requests/order-return-request-workflows"
]
},
{
- "group": "Wishlist module",
+ "group": "Reviews",
"pages": [
- "product/modules/b2c-core/wishlist/wishlist-concept",
- "product/modules/b2c-core/wishlist/wishlist-links",
- "product/modules/b2c-core/wishlist/wishlist-data-model-reference",
- "product/modules/b2c-core/wishlist/wishlist-services"
+ "docs/product/workflows/reviews/review-workflows"
]
}
]
},
+ "docs/product/js-sdk",
+ "docs/product/api",
{
- "group": "Commission",
+ "group": "Events",
"pages": [
- {
- "group": "Commission module",
- "pages": [
- "product/modules/commission/commission/commission-concept",
- "product/modules/commission/commission/commission-data-model-reference",
- "product/modules/commission/commission/commission-services"
- ]
- }
+ "docs/product/events/core-events",
+ "docs/product/events/request-events",
+ "docs/product/events/reviews-events"
+ ]
+ },
+ {
+ "group": "Scheduled Jobs",
+ "pages": [
+ "docs/product/scheduled-jobs/core-scheduled-jobs"
]
},
{
- "group": "Requests",
+ "group": "Subscribers",
+ "pages": [
+ "docs/product/subscribers/core",
+ "docs/product/subscribers/commission",
+ "docs/product/subscribers/requests",
+ "docs/product/subscribers/reviews"
+ ]
+ }
+ ]
+ },
+ {
+ "group": "Integrations",
+ "pages": [
+ "integrations/algolia",
+ "integrations/resend",
+ "integrations/stripe"
+ ]
+ },
+ {
+ "group": "Deployment",
+ "pages": [
+ "medusa-cloud"
+ ]
+ },
+ {
+ "group": "Development",
+ "pages": [
+ "development/set-up"
+ ]
+ },
+ {
+ "group": "Help",
+ "pages": [
+ "help/llm",
+ "help/mcp",
+ "help/support"
+ ]
+ }
+ ]
+ },
+ {
+ "tab": "API Reference",
+ "groups": [
+ {
+ "group": "API Documentation",
+ "openapi": "api-reference/combined.oas.json"
+ }
+ ]
+ },
+ {
+ "tab": "Changelog",
+ "groups": [
+ {
+ "group": "Changelog",
+ "pages": []
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "version": "canary",
+ "tabs": [
+ {
+ "tab": "Welcome",
+ "groups": [
+ {
+ "group": "Overview",
+ "pages": [
+ "canary/welcome"
+ ]
+ },
+ {
+ "group": "Getting Started",
+ "pages": [
+ "canary/quick-start",
+ "cli-installation",
+ "canary/whats-new"
+ ]
+ },
+ {
+ "group": "Concepts",
+ "pages": [
+ "canary/blocks"
+ ]
+ }
+ ]
+ },
+ {
+ "tab": "Docs",
+ "groups": [
+ {
+ "group": "Core Concepts",
+ "pages": [
+ "core-concepts/seller",
+ "core-concepts/order-splitting",
+ "core-concepts/payouts",
+ "core-concepts/commission",
+ "core-concepts/marketplace-settings",
+ "core-concepts/requests",
+ "core-concepts/reviews",
+ "core-concepts/notifications"
+ ]
+ },
+ {
+ "group": "Components",
+ "pages": [
+ "components/backend",
+ "components/admin-panel",
+ "components/vendor-panel",
+ "components/storefront"
+ ]
+ },
+ {
+ "group": "Product",
+ "pages": [
+ "product/framework",
+ "product/core-commerce-modules",
+ "product/core-infrastructure-modules",
+ {
+ "group": "Mercur marketplace modules",
"pages": [
{
- "group": "Request module",
+ "group": "Core",
"pages": [
- "product/modules/requests/requests/requests-concept",
- "product/modules/requests/requests/requests-links",
- "product/modules/requests/requests/request-data-model-reference",
- "product/modules/requests/requests/requests-services"
+ {
+ "group": "Attribute module",
+ "pages": [
+ "product/modules/b2c-core/attribute/attribute-concept",
+ "product/modules/b2c-core/attribute/attribute-links",
+ "product/modules/b2c-core/attribute/attributes-data-models-ref",
+ "product/modules/b2c-core/attribute/attributes-services"
+ ]
+ },
+ {
+ "group": "Configuration module",
+ "pages": [
+ "product/modules/b2c-core/configuration/configuration-concept",
+ "product/modules/b2c-core/configuration/configuration-data-models-ref",
+ "product/modules/b2c-core/configuration/configuration-services"
+ ]
+ },
+ {
+ "group": "Marketplace module",
+ "pages": [
+ "product/modules/b2c-core/marketplace/marketplace-concept",
+ "product/modules/b2c-core/marketplace/marketplace-links",
+ "product/modules/b2c-core/marketplace/marketplace-data-model-reference",
+ "product/modules/b2c-core/marketplace/marketplace-service"
+ ]
+ },
+ {
+ "group": "Payout module",
+ "pages": [
+ "product/modules/b2c-core/payout/payout-concept",
+ "product/modules/b2c-core/payout/payout-links",
+ "product/modules/b2c-core/payout/payout-data-model-reference",
+ "product/modules/b2c-core/payout/payout-services"
+ ]
+ },
+ {
+ "group": "Secondary Category Module",
+ "pages": [
+ "product/modules/b2c-core/secondary-categories/secondary-categories-concept",
+ "product/modules/b2c-core/secondary-categories/secondary-category-links",
+ "product/modules/b2c-core/secondary-categories/sec-cat-data-model-reference",
+ "product/modules/b2c-core/secondary-categories/secondary-category-services"
+ ]
+ },
+ {
+ "group": "Seller module",
+ "pages": [
+ "product/modules/b2c-core/seller/seller-concept",
+ "product/modules/b2c-core/seller/seller-module-options",
+ "product/modules/b2c-core/seller/seller-links",
+ "product/modules/b2c-core/seller/seller-data-model-reference",
+ "product/modules/b2c-core/seller/seller-services"
+ ]
+ },
+ {
+ "group": "Split Order Payment Module",
+ "pages": [
+ "product/modules/b2c-core/split-order-payment/split-order-payment-concept",
+ "product/modules/b2c-core/split-order-payment/split-order-links",
+ "product/modules/b2c-core/split-order-payment/split-order-data-model-reference",
+ "product/modules/b2c-core/split-order-payment/split-order-services"
+ ]
+ },
+ {
+ "group": "Taxcode module",
+ "pages": [
+ "product/modules/b2c-core/taxcode/taxcode-concept",
+ "product/modules/b2c-core/taxcode/taxcode-links",
+ "product/modules/b2c-core/taxcode/taxcode-data-model-reference",
+ "product/modules/b2c-core/taxcode/taxcode-services"
+ ]
+ },
+ {
+ "group": "Wishlist module",
+ "pages": [
+ "product/modules/b2c-core/wishlist/wishlist-concept",
+ "product/modules/b2c-core/wishlist/wishlist-links",
+ "product/modules/b2c-core/wishlist/wishlist-data-model-reference",
+ "product/modules/b2c-core/wishlist/wishlist-services"
+ ]
+ }
]
},
{
- "group": "Order Return Request module",
+ "group": "Commission",
"pages": [
- "product/modules/requests/order-return-request/order-return-request",
- "product/modules/requests/order-return-request/order-return-request-links",
- "product/modules/requests/order-return-request/order-return-request-data-model-reference",
- "product/modules/requests/order-return-request/order-return-request-services"
+ {
+ "group": "Commission module",
+ "pages": [
+ "product/modules/commission/commission/commission-concept",
+ "product/modules/commission/commission/commission-data-model-reference",
+ "product/modules/commission/commission/commission-services"
+ ]
+ }
+ ]
+ },
+ {
+ "group": "Requests",
+ "pages": [
+ {
+ "group": "Request module",
+ "pages": [
+ "product/modules/requests/requests/requests-concept",
+ "product/modules/requests/requests/requests-links",
+ "product/modules/requests/requests/request-data-model-reference",
+ "product/modules/requests/requests/requests-services"
+ ]
+ },
+ {
+ "group": "Order Return Request module",
+ "pages": [
+ "product/modules/requests/order-return-request/order-return-request",
+ "product/modules/requests/order-return-request/order-return-request-links",
+ "product/modules/requests/order-return-request/order-return-request-data-model-reference",
+ "product/modules/requests/order-return-request/order-return-request-services"
+ ]
+ }
+ ]
+ },
+ {
+ "group": "Reviews",
+ "pages": [
+ {
+ "group": "Reviews module",
+ "pages": [
+ "product/modules/reviews/reviews/reviews-concept",
+ "product/modules/reviews/reviews/review-links",
+ "product/modules/reviews/reviews/review-data-model-reference",
+ "product/modules/reviews/reviews/review-service"
+ ]
+ }
]
}
]
},
{
- "group": "Reviews",
+ "group": "Workflows",
"pages": [
{
- "group": "Reviews module",
+ "group": "Core",
"pages": [
- "product/modules/reviews/reviews/reviews-concept",
- "product/modules/reviews/reviews/review-links",
- "product/modules/reviews/reviews/review-data-model-reference",
- "product/modules/reviews/reviews/review-service"
+ "docs/product/workflows/core/price-list-workflows",
+ "docs/product/workflows/core/attribute",
+ "docs/product/workflows/core/campaign-workflows",
+ "docs/product/workflows/core/cart-workflows",
+ "docs/product/workflows/core/configuration-workflows",
+ "docs/product/workflows/core/customer-groups-workflows",
+ "docs/product/workflows/core/fulfillment-set-workflows",
+ "docs/product/workflows/core/order-workflows",
+ "docs/product/workflows/core/order-set-workflows",
+ "docs/product/workflows/core/payout-workflows",
+ "docs/product/workflows/core/product-workflows",
+ "docs/product/workflows/core/promotions-workflows",
+ "docs/product/workflows/core/seller-workflows",
+ "docs/product/workflows/core/split-order-payment",
+ "docs/product/workflows/core/wishlist-workflows",
+ "docs/product/workflows/core/common-workflows",
+ "docs/product/workflows/core/hooks"
+ ]
+ },
+ {
+ "group": "Commission",
+ "pages": [
+ "docs/product/workflows/commission/commission-workflows"
+ ]
+ },
+ {
+ "group": "Requests",
+ "pages": [
+ "docs/product/workflows/requests/requests",
+ "docs/product/workflows/requests/order-return-request-workflows"
+ ]
+ },
+ {
+ "group": "Reviews",
+ "pages": [
+ "docs/product/workflows/reviews/review-workflows"
]
}
]
- }
- ]
- },
- {
- "group": "Workflows",
- "pages": [
- {
- "group": "Core",
- "pages": [
- "docs/product/workflows/core/price-list-workflows",
- "docs/product/workflows/core/attribute",
- "docs/product/workflows/core/campaign-workflows",
- "docs/product/workflows/core/cart-workflows",
- "docs/product/workflows/core/configuration-workflows",
- "docs/product/workflows/core/customer-groups-workflows",
- "docs/product/workflows/core/fulfillment-set-workflows",
- "docs/product/workflows/core/order-workflows",
- "docs/product/workflows/core/order-set-workflows",
- "docs/product/workflows/core/payout-workflows",
- "docs/product/workflows/core/product-workflows",
- "docs/product/workflows/core/promotions-workflows",
- "docs/product/workflows/core/seller-workflows",
- "docs/product/workflows/core/split-order-payment",
- "docs/product/workflows/core/wishlist-workflows",
- "docs/product/workflows/core/common-workflows",
- "docs/product/workflows/core/hooks"
- ]
},
+ "docs/product/js-sdk",
+ "docs/product/api",
{
- "group": "Commission",
+ "group": "Events",
"pages": [
- "docs/product/workflows/commission/commission-workflows"
+ "docs/product/events/core-events",
+ "docs/product/events/request-events",
+ "docs/product/events/reviews-events"
]
},
{
- "group": "Requests",
+ "group": "Scheduled Jobs",
"pages": [
- "docs/product/workflows/requests/requests",
- "docs/product/workflows/requests/order-return-request-workflows"
+ "docs/product/scheduled-jobs/core-scheduled-jobs"
]
},
{
- "group": "Reviews",
+ "group": "Subscribers",
"pages": [
- "docs/product/workflows/reviews/review-workflows"
+ "docs/product/subscribers/core",
+ "docs/product/subscribers/commission",
+ "docs/product/subscribers/requests",
+ "docs/product/subscribers/reviews"
]
}
]
},
- "docs/product/js-sdk",
- "docs/product/api",
{
- "group": "Events",
+ "group": "Integrations",
"pages": [
- "docs/product/events/core-events",
- "docs/product/events/request-events",
- "docs/product/events/reviews-events"
+ "integrations/algolia",
+ "integrations/resend",
+ "integrations/stripe"
]
},
{
- "group": "Scheduled Jobs",
+ "group": "Deployment",
"pages": [
- "docs/product/scheduled-jobs/core-scheduled-jobs"
+ "medusa-cloud"
]
},
{
- "group": "Subscribers",
+ "group": "Development",
"pages": [
- "docs/product/subscribers/core",
- "docs/product/subscribers/commission",
- "docs/product/subscribers/requests",
- "docs/product/subscribers/reviews"
+ "development/set-up"
+ ]
+ },
+ {
+ "group": "Help",
+ "pages": [
+ "help/llm",
+ "help/mcp",
+ "help/support"
]
}
]
},
{
- "group": "Integrations",
- "pages": [
- "integrations/algolia",
- "integrations/resend",
- "integrations/stripe"
- ]
- },
- {
- "group": "Deployment",
- "pages": [
- "medusa-cloud"
- ]
- },
- {
- "group": "Development",
- "pages": [
- "development/set-up"
+ "tab": "API Reference",
+ "groups": [
+ {
+ "group": "API Documentation",
+ "openapi": "api-reference/combined.oas.json"
+ }
]
},
{
- "group": "Help",
- "pages": [
- "help/llm",
- "help/mcp",
- "help/support"
+ "tab": "Changelog",
+ "groups": [
+ {
+ "group": "Changelog",
+ "pages": []
+ }
]
}
]
- },
- {
- "tab": "API Reference",
- "groups": [
- {
- "group": "API Documentation",
- "openapi": "api-reference/combined.oas.json"
- }
- ]
- },
- {
- "tab": "Changelog",
- "groups": [
- {
- "group": "Changelog",
- "pages": []
- }
- ]
}
]
},
@@ -347,4 +676,4 @@
}
]
}
-}
\ No newline at end of file
+}
diff --git a/apps/docs/snippets/canary-warning.mdx b/apps/docs/snippets/canary-warning.mdx
new file mode 100644
index 000000000..5c999d0d8
--- /dev/null
+++ b/apps/docs/snippets/canary-warning.mdx
@@ -0,0 +1,3 @@
+<Warning>
+ **Canary Release** — This is the canary version of Mercur. It is **not production-ready** and may contain breaking changes, incomplete features, and unstable APIs. For the stable version, switch to [1.x](/introduction).
+</Warning>