Skip to main content

Get Product

GET 

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

Single product detail. Includes the product's Magento 2 custom attributes, each annotated with the SKU.io product field it is mapped onto. For a configurable product the response also carries its child (variant) products.

Not yet available to API tokens

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

Path params:

  • magento2IntegrationInstance (required, integer).
  • product (required, integer) — Internal Magento 2 product record ID.

custom_attributes[] — every attribute captured on the last sync of this product, excluding the ones already mirrored into dedicated columns (cost, description, image, barcode, upc, ean, gtin). Dropdown and multi-select values are resolved to their option labels rather than the numeric option IDs Magento stores. Sorted mapped-first, then alphabetically by code. Each entry contains:

  • code — the Magento attribute code.
  • label — a human-readable label derived from the code.
  • value — the captured value as a string, or null when empty.
  • mapped — whether a field mapping copies this attribute into a SKU.io product field.
  • sku_field — the SKU.io product field it is copied into, or null when unmapped.
  • target_label — the display label of that SKU.io field, or null when unmapped.

This array is returned on the detail endpoint only — the products list omits it.

Error responses:

  • 404 — product does not exist OR belongs to a different instance.
  • 401 — caller is not authenticated.

Request

Responses

OK

Response Headers
    Content-Type