$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "urls": [
< "https://search.rakuten.co.jp/search/mall/coffee/?s=2",
< "https://search.rakuten.co.jp/search/mall/coffee/100316/",
< "https://search.rakuten.co.jp/search/mall/-/100316/?p=2",
< "https://www.rakuten.co.jp/category/100316/",
< "https://search.rakuten.co.jp/search/mall/%E3%82%B3%E3%83%BC%E3%83%92%E3%83%BC/-/tg1011693/",
< "https://search.rakuten.co.jp/search/mall/coffee/?p=3",
< "https://search.rakuten.co.jp/search/mall/coffee/?sid=193811",
< "https://search.rakuten.co.jp/search/mall/coffee/?min=500&max=2000&review=4&used=0&s=5",
< "https://search.rakuten.co.jp/search/inshop/ajinomoto/",
< "https://www.rakuten.co.jp/ajinomoto/",
< "https://item.rakuten.co.jp/ajinomoto/nb38/",
< "https://review.rakuten.co.jp/item/1/193811_10001806/2.1/"
< ],
< "queries": [
< "コーヒー"
< ],
< "genreIds": [],
< "tagIds": [],
< "shopUrlCodes": [],
< "maxItems": 50,
< "maxPages": 0,
< "maxReviewsPerItem": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~rakuten-ichiba-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'