$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "Detroit, Michigan"
< ],
< "radiusKm": 40,
< "storeInputs": [
< "https://app.shopper.flashfood.com/api/v1/stores/629cec56061cc242985326fd",
< "https://app.shopper.flashfood.com/api/v1/items/?storeIds=629cec56061cc242985326fd",
< "https://app.shopper.flashfood.com/api/v1/stores?latitude=42.33&longitude=-83.04&maxDistance=10000",
< "https://flashfood.com/en/locations",
< "629cec56061cc242985326fd"
< ],
< "urls": [
< "https://app.shopper.flashfood.com/api/v1/stores/629cec56061cc242985326fd",
< "https://app.shopper.flashfood.com/api/v1/items/?storeIds=629cec56061cc242985326fd",
< "https://app.shopper.flashfood.com/api/v1/stores?latitude=42.33&longitude=-83.04&maxDistance=10000",
< "https://flashfood.com/en/locations",
< "629cec56061cc242985326fd"
< ],
< "maxItems": 20,
< "includeStores": false,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~flashfood-grocery-deals-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'