$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "observations": [
< {
< "marketplace": "amazon",
< "gtin": "00036000291452",
< "productId": "B0EXAMPLE",
< "title": "Sample product",
< "price": 12.99,
< "currency": "USD",
< "rating": 4.4,
< "reviewCount": 225,
< "productUrl": "https://www.amazon.com/dp/B0EXAMPLE",
< "imageUrl": "https://example.com/image.jpg"
< },
< {
< "marketplace": "walmart",
< "gtin": "00036000291452",
< "productId": "123456789",
< "title": "Sample product",
< "price": 11.99,
< "currency": "USD",
< "rating": 4.2,
< "reviewCount": 44,
< "productUrl": "https://www.walmart.com/ip/123456789"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/rustic_soybean~exact-sku-shopping-comparison/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'