Skip to main content

Map Product

POST 

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

Map a single Magento product to a SKU.io Product.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body:

  • sku_product_id (integer | null) — the SKU.io products.id to link to. Pass null to clear the mapping (equivalent to Unmap Product).

Returns the refreshed Magento2ProductResource so the frontend can swap the row.

Error responses:

  • 404 — product does not exist OR belongs to a different instance.

The mapped SKU.io product is returned as a product object alongside subscription_offering and revenue_line — the three things a channel listing can be mapped to. is_mapped is true when ANY of them is set, so a listing mapped to a revenue line reports mapped even though it has no product (revenue lines never touch inventory). mapped_at is when the mapping was created.

Request​

Responses​

OK

Response Headers
    Content-Type