Skip to main content

Smart Match SKU Product

POST 

/api/magento2/integration-instances/:magento2IntegrationInstance/products/:product/smart-match

Suggest SKU.io products that could be mapped to this Magento 2 product. Returns three buckets:

  • exact_match — the SKU.io product whose sku is identical to the Magento product's SKU (or null if no match).
  • barcode_match — the SKU.io product whose barcode matches the Magento product's barcode (or null).
  • similar_matches — fuzzy name/SKU matches, capped by limit.

Body (optional):

  • query (string, max 255) — free-text search term. When omitted, the manager seeds the search with the Magento product's name (falling back to sku).
  • limit (integer, 1–50) — max similar matches to return. Defaults to 10.

Error responses:

  • 404 — product does not exist OR belongs to a different instance.
  • 422 — validation failed on query or limit.

Request

Responses

OK

Response Headers
    Content-Type