Open MercatoDocsSearch docsAPI reference

Framework

Integration Enhancements

A carrier returning tracking updates needs a different connection from a mailbox delivering inbound messages. Choose the platform contract that owns the external operation, then keep provider-specific authentication and payload translation in the adapter.

Payment and shipping gateways

Start with: Shipping & payment providers

Messaging as an integration boundary

Start with: Messages system

Notifications and inbox delivery

Start with: Notifications, Events overview

Search and vector integrations

Start with: Hybrid search

Workflow and scheduler integration patterns

Start with: Workflows extending, Scheduler, Progress

API-level integration hooks

Start with: API extension guide, Queue workers

For the integrations marketplace specifically:

Integration extension widgets (UMES Phase L)

Phase L adds first-class UI widgets and data primitives for building integration modules.

InjectionWizard

Multi-step wizard widget for integration onboarding (OAuth flows, API credential entry, scope configuration). Renders a numbered step indicator with navigation and per-step validation.

Import: import { InjectionWizard } from '@open-mercato/ui/backend/injection/InjectionWizard'

StatusBadgeRenderer

Status badge widget with pollable status loaders. Displays a color-coded dot, label, optional count badge, and optional tooltip.

Import: import { StatusBadgeRenderer } from '@open-mercato/ui/backend/injection/StatusBadgeRenderer'

ExternalIdsWidget

Injection widget for displaying external system ID mappings. Reads the _integrations namespace from enriched API responses and renders a row per integration with provider name, external ID code badge, sync status dot, and optional external link.

Widget: packages/core/src/modules/integrations/widgets/injection/external-ids/widget.client.tsx

Integration registry

Register integration definitions at module bootstrap so the platform can discover metadata and build deep links.

import {
  buildIntegrationDetailWidgetSpotId,
  registerIntegration,
  getAllIntegrations,
  getIntegrationTitle,
} from '@open-mercato/shared/modules/integrations/types'

registerIntegration({
  id: 'sync_shopify',
  title: 'Shopify',
  icon: 'shopify',
  detailPage: {
    widgetSpotId: buildIntegrationDetailWidgetSpotId('sync_shopify'),
  },
  buildExternalUrl: (externalId) => `https://admin.shopify.com/store/demo/products/${externalId}`,
})

getAllIntegrations()              // returns all registered IntegrationDefinition[]
getIntegrationTitle('sync_shopify') // 'Shopify'
getIntegrationTitle('unknown')      // 'unknown' (falls back to ID)

Provider-scoped integration detail widgets

Integration providers can now extend their own marketplace detail pages directly from integration.ts.

import { buildIntegrationDetailWidgetSpotId } from '@open-mercato/shared/modules/integrations/types'

export const integration = {
  id: 'gateway_example',
  title: 'Example Gateway',
  detailPage: {
    widgetSpotId: buildIntegrationDetailWidgetSpotId('gateway_example'),
  },
}

export const injectionTable = {
  [buildIntegrationDetailWidgetSpotId('gateway_example')]: [
    {
      widgetId: 'gateway_example.injection.tools',
      kind: 'tab',
      groupLabel: 'gateway_example.tabs.tools',
      priority: 100,
    },
  ],
}

Backward compatibility:

Start with: Widget injection, Data extensibility

Data integration and entity mapping today

Currently available:

Now available (UMES Phase N):

Previous: Extensibility Directory · Next: Query Engine Extensibility