Skip to main content

Re-map Listing to Base Product

POST 

/api/configurable-products/mismapped-listings/:listingId/remap-to-base

Re-map a channel listing to its base product, usually warning.suggested_base_product.id from List Listings Mapped to Configured Products. Future plain sales of the variant are booked to the base product, and past order lines still waiting on this listing are linked in the background. Order lines already booked to the configured product are not moved.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token (scope products:write) and the integrations.update permission.

Body:

  • product_id (integer, required) — an existing product to map the listing to.

Returns 422 when the product is archived, the listing's sales channel can't be found, or validation fails; 404 when the listing does not exist or line options are switched off.

Request​

Responses​

OK

Response Headers
    Content-Type