Skip to main content

Update Field Mappings

PUT 

/api/magento2/integration-instances/:magento2IntegrationInstance/products/field-mappings

Replaces the stored field mappings for this store. Send the full list — the server overwrites rather than merges, and an empty array clears every mapping.

Not yet available to API tokens

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

Body: { mappings: [{ magento_field, sku_field }] }. mappings is required and may be empty; magento_field and sku_field are required strings on each entry.

Entries whose magento_field this store does not offer (see available_magento_fields on the GET) are discarded rather than stored — a mapping that can never be applied would otherwise look saved and silently do nothing. The response returns what was actually stored plus skipped_count, the number of submitted entries that were dropped.

Path params:

  • magento2IntegrationInstance (required, integer).

Request

Responses

OK

Response Headers
    Content-Type