$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "milk"
< ],
< "market": "AE",
< "language": "en",
< "sortBy": "relevance",
< "inStockOnly": false,
< "urls": [
< "https://gcc.luluhypermarket.com/en-ae/",
< "https://gcc.luluhypermarket.com/en-ae/grocery/",
< "https://gcc.luluhypermarket.com/en-ae/grocery-food-cupboard-canned-foods/",
< "https://gcc.luluhypermarket.com/en-ae/grocery-food-cupboard-canned-foods/?page=2",
< "https://gcc.luluhypermarket.com/en-ae/list/?search_text=milk",
< "https://gcc.luluhypermarket.com/list/?search_text=milk&format=json",
< "https://gcc.luluhypermarket.com/list/?category_ids=5019&format=json",
< "https://gcc.luluhypermarket.com/en-ae/kdd-tomato-paste-135-g/p/138450-ea/",
< "https://gcc.luluhypermarket.com/kdd-tomato-paste-135-g/p/138450-ea/?format=json",
< "https://gcc.luluhypermarket.com/en-sa/grocery/",
< "https://gcc.luluhypermarket.com/en-ae/c/Bulk-Savings/",
< "https://gcc.luluhypermarket.com/en-ae/grocery-food-cupboard-breakfast-spreads/?sorter=-discount_ratio",
< "https://gcc.luluhypermarket.com/en-ae/list/?attributes_brand=LuLu%20PL",
< "https://gcc.luluhypermarket.com/ar-ae/grocery/"
< ],
< "fetchDetails": true,
< "includeFacets": true,
< "maxItems": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "compactUpdates": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [],
< "notifyOnlyChanges": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~luluhypermarket-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'