$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "iphone"
< ],
< "categories": [
< "1008"
< ],
< "urls": [
< "https://www.jarir.com/sa-en/catalogsearch/result?search=galaxy",
< "https://www.jarir.com/sa-en/headphones-40027.html",
< "https://www.jarir.com/sa-en/english-electronics.html",
< "https://www.jarir.com/sa-en/c/665",
< "https://www.jarir.com/sa-en/apple-airpods-4-headsets-642550.html",
< "https://www.jarir.com/apple-airpods-4-headsets-642550.html",
< "https://www.jarir.com/sa-en/SKU/689710",
< "https://www.jarir.com/qa-en/apple-airpods-5-headsets-689544.html",
< "https://www.jarir.com/kw-ar/headphones-40027.html"
< ],
< "market": "SA",
< "fetchDetails": true,
< "fetchReviews": true,
< "maxReviews": 20,
< "maxItems": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "compactUpdates": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [
< "promoTagline",
< "tags"
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~jarir-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'