Skip to content

Magento Integration

The Magento integration connects MicroPIM to Magento 2 (Open Source and Adobe Commerce) using the REST API. Products, stock, prices, and categories flow from MicroPIM to Magento.

  • A running Magento 2.4+ store
  • Admin access to the Magento back office
  • Ability to create an Integration (System → Extensions → Integrations) or a dedicated admin user with API access
  • An active MicroPIM account
FieldWhere to find it
API URLYour Magento base URL, e.g. https://store.example.com
API UserThe integration username, or the dedicated admin user’s login
API SecretThe Access Token generated by the Magento Integration, or the admin user’s password (token auth is recommended)

To generate an access token via a Magento Integration:

  1. In Magento admin, go to System → Extensions → Integrations → Add New Integration
  2. Name it MicroPIM, enter your admin password to confirm
  3. Open the API tab and select these resources: Catalog, Inventory, Stores
  4. Click Save
  5. Click Activate next to the integration, then Allow
  6. Copy the Access Token shown in the activation dialog

Caution: Tokens are tied to the Integration. If you delete or deactivate the Integration in Magento, the connection in MicroPIM will stop working.

  1. In MicroPIM, go to Integrations → Add Integration
  2. Select Magento from the platform list
  3. Paste your Magento base URL into API URL (no trailing slash)
  4. Enter the integration name into API User
  5. Paste the access token into API Secret
  6. Click Test Connection to verify
  7. Click Save to create the integration
DataDirectionNotes
ProductsBidirectionalSimple, configurable, virtual, and downloadable types
StockMicroPIM → MagentoPer-source stock with multi-source inventory (MSI) support
PricingMicroPIM → MagentoBase price, special price, tier prices
CategoriesMicroPIM → MagentoMapped by category ID
ImagesMicroPIM → MagentoBase, thumbnail, and gallery images

Default mapping covers Magento’s core attributes (sku, name, price, description, short_description, weight, status, visibility). Custom attributes can be mapped from Integrations → Edit → Field Mapping.

401 Unauthorized — the access token is wrong, expired, or the Integration was deactivated. Regenerate and reconnect.

404 Not Found on test connection — the API URL is wrong or Magento’s REST API is disabled. The endpoint MicroPIM checks is /rest/V1/store/storeConfigs.

Products created in MicroPIM not appearing in Magento — confirm the product is enabled, has visibility set to “Catalog, Search”, and is assigned to a website.

Stock not updating — verify the source code mapping under Integrations → Edit → Field Mapping matches your MSI source.

Does this work with Magento 1? No. MicroPIM supports Magento 2.4 and above.

Does this work with Adobe Commerce? Yes — both Adobe Commerce (formerly Magento Commerce) and Magento Open Source are supported.

Can I connect multiple Magento stores? Yes. For multiple store views on the same instance, configure scope mapping in the field mapping editor.

Can I roll back a sync? Syncs are not reversible, but every change is recorded in the Audit Log.