$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchTerms": [
< "milk"
< ],
< "urls": [],
< "maxProducts": 5,
< "includeProductDetails": true,
< "postcode": "",
< "brands": [],
< "allergens": [],
< "lifestyle": [],
< "healthStar": [],
< "sortBy": "relevance",
< "includeUnavailable": false,
< "includeMarketplace": false,
< "includeRatings": true,
< "storeQuery": "",
< "storeNo": "",
< "includeNearbyStores": false,
< "source": "online",
< "states": [],
< "maxProductsPerRegion": 1,
< "includeStoreDirectory": false,
< "categoryPaths": [],
< "specials": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/datascraperes~woolworths-products-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'