Skip to main content

Create SKU Product from Magento Product

POST 

/api/magento1/instances/:integrationInstance/products/:product/create-sku-product

Creates a new SKU.io product from the catalog product's data and links it. If a SKU.io product with the matching SKU already exists, the manager links to it instead of creating a duplicate. Returns 422 if the catalog product is already mapped (unmap it first).

Not yet available to API tokens

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

Body: none.

custom_attributes (detail responses only)

Magento 1 capture is subtractive: every top-level SOAP key with no mirror column is retained verbatim in magento1_products.custom_attributes. This endpoint annotates each captured code with its Living Catalog (content-sync) mapping, so you can see which of the store's EAV attributes are actually governed.

Each row:

  • code (string) — the Magento EAV attribute code as returned by the store.
  • label (string) — the mapping's saved label, else the code humanized (url_keyUrl Key).
  • value (string|null) — the captured value, stringified (arrays/objects are JSON-encoded).
  • mapped (boolean) — an integration_attribute_mappings row exists for this code on this instance.
  • enabled (boolean) — that mapping is switched on, so the code participates in content-drift detection.
  • attribute_id (integer|null) — the SKU catalog attributes.id it maps to.
  • attribute_name (string|null) — that SKU attribute's name.

Rows are ordered enabled-mapped first, then mapped-but-disabled, then unmapped, each group sorted by code. Returns [] when the product carries no custom attributes. The paginated product list endpoints do NOT include this key — it is detail-only, so the index stays lean.

Authentication: Requires Bearer token.

Request

Responses

Created