$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "categories",
< "locations": [
< "78701"
< ],
< "categoryInputs": [
< "https://www.gopuff.com/c/candy/txERmYDy",
< "https://www.gopuff.com/deals/snack-deals/J9aZuA",
< "https://www.gopuff.com/",
< "https://www.gopuff.com/shop",
< "https://www.gopuff.com/deals"
< ],
< "discoverCategories": true,
< "inStockOnly": false,
< "productInputs": [
< "https://www.gopuff.com/p/banana---1ct/p198176"
< ],
< "maxItems": 20,
< "maxPages": 0,
< "pageSize": 50,
< "fetchDetails": false,
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [],
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~gopuff-prices-assortment-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'