curl --request POST \
--url http://localhost:3000/v1/scraped-products/bulk/unpublish \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"subcategory": "<string>",
"has_image": "all",
"has_barcode": "all",
"has_retailer_mappings": "all",
"has_pricing": "all",
"dry_run": false,
"limit": 1000
}
'{
"success": true,
"unpublished_count": 123,
"message": "<string>",
"dry_run": true,
"eligible_count": 123
}Bulk unpublish (soft delete sellable products) matching filters
curl --request POST \
--url http://localhost:3000/v1/scraped-products/bulk/unpublish \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"subcategory": "<string>",
"has_image": "all",
"has_barcode": "all",
"has_retailer_mappings": "all",
"has_pricing": "all",
"dry_run": false,
"limit": 1000
}
'{
"success": true,
"unpublished_count": 123,
"message": "<string>",
"dry_run": true,
"eligible_count": 123
}Bulk unpublish request
Category filter
Subcategory filter
Has image filter
true, false, all Has barcode filter
true, false, all Has retailer mappings filter
true, false, all Has pricing filter
true, false, all Preview without making changes
Max products to process
1 <= x <= 10000