Skip to main content
POST
/
v1
/
scraped-products
/
bulk
/
scraped
/
activate
Bulk activate scraped products
curl --request POST \
  --url http://localhost:3000/v1/scraped-products/bulk/scraped/activate \
  --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,
  "activated_count": 123,
  "message": "<string>",
  "dry_run": true,
  "eligible_count": 123
}

Body

application/json

Bulk scraped products operation request

category
string

Category filter

subcategory
string

Subcategory filter

has_image
enum<string>
default:all

Has image filter

Available options:
true,
false,
all
has_barcode
enum<string>
default:all

Has barcode filter

Available options:
true,
false,
all
has_retailer_mappings
enum<string>
default:all

Has retailer mappings filter

Available options:
true,
false,
all
has_pricing
enum<string>
default:all

Has pricing filter

Available options:
true,
false,
all
has_sellable
enum<string>
default:all

Has sellable product filter

Available options:
true,
false,
all
dry_run
boolean
default:false

Preview without making changes

limit
integer
default:1000

Max products to process

Required range: 1 <= x <= 10000

Response

Bulk scraped activate result

Bulk scraped activate response

success
enum<boolean>
required
Available options:
true,
false
activated_count
number
required
message
string
dry_run
boolean
eligible_count
number