$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "shampoo"
< ],
< "sortBy": "relevance",
< "onlyOffers": false,
< "urls": [
< "https://www.boots.com/",
< "https://www.boots.com/sitesearch?searchTerm=shampoo",
< "https://www.boots.com/beauty/skincare",
< "https://www.boots.com/olaplex-no4-strengthening-shampoo-250ml-10401541"
< ],
< "maxItems": 20,
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "GB"
< },
< "incrementalMode": false,
< "compactUpdates": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [
< "rating_average",
< "rating_count"
< ],
< "notifyOnlyChanges": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~boots-com-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'