Skip to main content

List Possible Duplicates

GET 

/api/v2/product-duplicates

Groups of products that are possibly the same item entered under more than one SKU, with the reasons and what is needed to choose which to keep. Only groups that still have two active products are returned. Without a status filter, open groups are returned.

Required scope: products:read

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

Each reason has a weight (barcode 0.90, supplier SKU 0.80, SKU apart from case or punctuation 0.75, name and options 0.55, SKU apart from its ending 0.55, main image 0.35); score is 1 - Π(1 - weight) as a percentage, lowered by 40% when both products have different valid barcodes. confidence is high from 85, medium from 55, else low. suggested_keep_product_id is the product with most units sold in 180 days, then most stock, then the oldest.

Supports Spatie operators on status, confidence, reason, sku, name (text), id, score, product_count (numeric) and found_at (datetime), and base64 filter_groups.

Authentication: Requires Bearer token (scope products, permission products.index).

Request​

Responses​

OK

Response Headers
    Content-Type