Skip to main content
POST
/
v1
/
receiving
/
products
/
{productId}
/
merge-into
/
{canonicalId}
Merge a duplicate product into a canonical product
curl --request POST \
  --url http://localhost:3000/v1/receiving/products/{productId}/merge-into/{canonicalId}
{
  "success": true,
  "canonical_product_id": "<string>",
  "merged_product_id": "<string>"
}

Path Parameters

productId
string<uuid>
required

The duplicate scraped product ID (will be deactivated)

canonicalId
string<uuid>
required

The canonical scraped product ID (will be kept)

Response

Products merged successfully

success
boolean
required
canonical_product_id
string
required
merged_product_id
string
required