Skip to main content

Bulk Map Products

POST 

/api/magento2/integration-instances/:magento2IntegrationInstance/products/bulk-map

Bulk-map Magento products to SKU.io Products by SKU / SKU-contains / name. Synchronous (no tracked job) and caps at 500 products per call to keep the request bounded.

Body:

  • selection.typeselected (use ids) or filtered (apply across the currently filtered set; the unmapped-only constraint always applies).
  • selection.ids — array of magento2_products.id (required when type=selected).
  • selection.filters — filter object (used when type=filtered).
  • options.match_bysku (exact Magento SKU == SKU.io Product SKU), sku_contains (SKU.io Product SKU LIKE %magento_sku%), or name (SKU.io Product name == Magento name).
  • options.create_if_no_match — when true, create a new SKU.io Product for any Magento product that doesn't match (uses the Magento sku + name).

Returns counts: mapped, skipped, total. tracked_job_log_id is always null (kept in the response shape for frontend symmetry with the other bulk ops).

Request

Responses

OK

Response Headers
    Content-Type