Connection
Test Connection
Validates the supplied Magento 2 credentials by calling the REST API. Returns the store views and MSI (Multi-Source Inventory) sources the merchant has access to — used by the UI to preview before persisting.
Install
Provisions a new Magento 2 IntegrationInstance after re-validating the supplied credentials server-side. The probe runs again here — clients cannot skip validation by calling `/install` directly.
Test Instance Connection
Probe an EXISTING instance's STORED credentials against the Magento 2 REST API. Backs the live Connection Status chip on the settings Connection tab — the frontend never sees the raw access token, so the server re-uses what's persisted in connection_settings. No request body.