$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "providedRecords": [
< {
< "productUrl": "https://example.com/owned-product/1",
< "productTitle": "Owned example product",
< "reviewTitle": "Clear instructions",
< "reviewText": "This owned demonstration review describes clear instructions and a useful product.",
< "reviewRating": 4
< },
< {
< "productUrl": "https://example.com/owned-product/1",
< "productTitle": "Owned example product",
< "reviewTitle": "Useful with limits",
< "reviewText": "This customer-authored example found the product useful but its packaging could improve.",
< "reviewRating": 3
< },
< {
< "productUrl": "https://example.com/owned-product/1",
< "productTitle": "Owned example product",
< "reviewTitle": "Unrated example",
< "reviewText": "This owned demonstration review has no rating. It should not add a fabricated zero."
< }
< ],
< "productUrls": [
< "https://www.ulta.com/p/lash-princess-false-lash-effect-mascara-xlsImpprod12741009"
< ],
< "searchTerms": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/thescrapelab~warehouse-grocery-review-intelligence-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'