Skip to main content

Refresh Single Product

POST 

/api/magento2/integration-instances/:magento2IntegrationInstance/products/:product/refresh-single

Synchronous single-product resync. Looks up the product in Magento by its SKU, upserts the local row, and returns the refreshed Magento2ProductResource so the frontend can swap the row in place. No tracked_job_log_id is returned (unlike the bulk Refresh Products endpoint).

Not yet available to API tokens

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

No request body.

Error responses:

  • 404 — product does not exist OR belongs to a different instance.
  • 422 — local product row has no SKU (cannot resolve it against Magento).
  • 502 (or the upstream status, when 4xx) — the Magento API call failed.

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