$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "towel"
< ],
< "urls": [
< "https://www.kmart.com.au/toys/",
< "https://www.kmart.com.au/womens/",
< "https://www.kmart.com.au/toys/?page=2",
< "https://www.kmart.com.au/catalogue/",
< "https://www.kmart.com.au/clearance/",
< "https://www.kmart.com.au/brand/target/",
< "https://www.kmart.com.au/search/?searchTerm=towel",
< "https://www.kmart.com.au/product/madison-bath-towel-ocean-42442370/",
< "https://www.kmart.com.au/category/home-and-living/home-decor/",
< "https://www.kmart.com.au/category/online-exclusives/"
< ],
< "basketItems": [
< {
< "url": "https://www.kmart.com.au/product/madison-bath-towel-ocean-42442370/",
< "quantity": 2
< }
< ],
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "changeScope": "all",
< "compactUpdates": false,
< "expireAfterMissedScans": 1,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~kmart-au-scraper-lite/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'