curl --request POST \
--url http://localhost:3000/v1/scraped-products/bulk/scraped/deactivate \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"subcategory": "<string>",
"has_image": "all",
"has_barcode": "all",
"has_retailer_mappings": "all",
"has_pricing": "all",
"has_sellable": "all",
"dry_run": false,
"limit": 1000
}
'{
"success": true,
"deactivated_count": 123,
"message": "<string>",
"dry_run": true,
"eligible_count": 123
}Bulk deactivate scraped products matching filters
curl --request POST \
--url http://localhost:3000/v1/scraped-products/bulk/scraped/deactivate \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"subcategory": "<string>",
"has_image": "all",
"has_barcode": "all",
"has_retailer_mappings": "all",
"has_pricing": "all",
"has_sellable": "all",
"dry_run": false,
"limit": 1000
}
'{
"success": true,
"deactivated_count": 123,
"message": "<string>",
"dry_run": true,
"eligible_count": 123
}Bulk scraped products operation 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 Has sellable product filter
true, false, all Preview without making changes
Max products to process
1 <= x <= 10000