curl --request POST \
--url http://localhost:3000/v1/scraped-products/bulk/publish-by-criteria \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"subcategory": "<string>",
"require_description": false,
"require_image": true,
"require_size": false,
"require_barcode": true,
"require_category": false,
"require_retailer_mappings": false,
"require_pricing": false,
"default_selling_price": 1,
"is_rfc_item": false,
"limit": 1000,
"dry_run": false
}
'{
"success": true,
"dry_run": true,
"eligible_count": 123,
"sample_products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"brand": "<string>",
"image_url": "<string>",
"size": "<string>",
"full_category_hierarchy": "<string>"
}
]
}Bulk publish scraped products matching specified criteria
curl --request POST \
--url http://localhost:3000/v1/scraped-products/bulk/publish-by-criteria \
--header 'Content-Type: application/json' \
--data '
{
"category": "<string>",
"subcategory": "<string>",
"require_description": false,
"require_image": true,
"require_size": false,
"require_barcode": true,
"require_category": false,
"require_retailer_mappings": false,
"require_pricing": false,
"default_selling_price": 1,
"is_rfc_item": false,
"limit": 1000,
"dry_run": false
}
'{
"success": true,
"dry_run": true,
"eligible_count": 123,
"sample_products": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"brand": "<string>",
"image_url": "<string>",
"size": "<string>",
"full_category_hierarchy": "<string>"
}
]
}Bulk publish by criteria request
Category filter
Subcategory filter
Require description
Require image
Require size
Require barcode
Require category
Require retailer mappings
Require pricing
Default selling price
x >= 0Is RFC item
Max products to process
1 <= x <= 10000Preview without making changes
Bulk publish by criteria result