Skip to main content

Get Instance Dashboard

GET 

/api/magento2/integration-instances/:magento2IntegrationInstance/dashboard

Dashboard metrics for a single Magento 2 integration instance. Backs the shared <SalesChannelInstanceDashboard> component on /v2/integrations/magento2/dashboard.

Returns a hybrid payload: snake_case fields kept for legacy Magento2DashboardMetrics fallbacks, plus the camelCase SalesChannelInstanceDashboardData contract (syncCards, integrations, entityCounts, financialSummary, syncStatus) consumed directly by the dashboard component.

Path params:

  • magento2IntegrationInstance (required, integer) — Magento 2 IntegrationInstance ID.

Query params:

  • period (optional, string, default 30d) — reporting window for financialSummary / revenue_30d. One of: today, 7d, 30d, 90d, All.

Error responses:

  • 404 — instance ID does not exist in this tenant.
  • 422period is not one of the allowed values.
  • 401 — caller is not authenticated.

Request

Responses

OK

Response Headers
    Content-Type