$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "catalog": [
< {
< "catalogItemId": "tree-runner-jet-black-8",
< "title": "Men's Tree Runner Jet Black size 8",
< "brand": "Allbirds",
< "gtin": "843416184854",
< "mpn": "TR3MJBW080",
< "sku": "TR3MJBW080",
< "packQuantity": 1
< },
< {
< "catalogItemId": "strider-explore-natural-black-10",
< "title": "Men's Strider Explore Natural Black size 10",
< "brand": "Allbirds",
< "gtin": "196942208595",
< "mpn": "A11768M100",
< "sku": "A11768M100",
< "packQuantity": 1
< },
< {
< "catalogItemId": "coconut-caramel-1-bag",
< "title": "Coconut Caramel Coffee 1 bag",
< "brand": "Death Wish Coffee",
< "gtin": "810063344313",
< "mpn": "LGCCML09",
< "sku": "LGCCML09",
< "packQuantity": 1
< },
< {
< "catalogItemId": "coconut-caramel-5-bag",
< "title": "Coconut Caramel Coffee 5 bags",
< "brand": "Death Wish Coffee",
< "gtin": "810063344313",
< "mpn": "LGCCML45K",
< "sku": "LGCCML45K",
< "packQuantity": 5
< },
< {
< "catalogItemId": "classic-percale-queen-white",
< "title": "Classic Percale Core Sheet Set Solid White Queen",
< "brand": "Brooklinen",
< "gtin": "840302715352",
< "mpn": "COR-Q1",
< "sku": "COR-Q1",
< "packQuantity": 1
< }
< ],
< "mappings": [
< {
< "url": "https://www.allbirds.com/products/mens-tree-runners?variant=33179624669264",
< "catalogItemId": "tree-runner-jet-black-8"
< },
< {
< "url": "https://www.allbirds.com/products/mens-strider-explore?variant=41334294020176",
< "catalogItemId": "strider-explore-natural-black-10"
< },
< {
< "url": "https://www.deathwishcoffee.com/products/coconut-caramel-coffee",
< "catalogItemId": "coconut-caramel-1-bag"
< },
< {
< "url": "https://www.deathwishcoffee.com/products/coconut-caramel-coffee",
< "catalogItemId": "coconut-caramel-5-bag"
< },
< {
< "url": "https://www.brooklinen.com/products/classic-core-sheet-set?variant=41405019586650",
< "catalogItemId": "classic-percale-queen-white"
< }
< ],
< "expectedCurrency": "USD",
< "country": "US",
< "outputMode": "all",
< "stateStoreName": "exact-variant-monitor-state",
< "maxOffers": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/plusonets~exact-variant-price-stock-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'