$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "rows": [
< {
< "id": "001",
< "title": "Blue ceramic mug",
< "description": "A reusable ceramic mug, 300 ml.",
< "link": "https://example.com/mug",
< "image_link": "https://example.com/mug.jpg",
< "availability": "in_stock",
< "price": "99.95 EUR",
< "gtin": "4006381333931",
< "brand": "Example",
< "condition": "new"
< },
< {
< "id": "001",
< "title": "",
< "description": "A reusable ceramic mug, 300 ml.",
< "link": "https://example.com/mug",
< "image_link": "/bad.jpg",
< "availability": "in_stock",
< "price": "99.95 EUR",
< "gtin": "4006381333932",
< "brand": "Example",
< "condition": "new",
< "sale_price": "120 EUR"
< },
< {
< "id": "custom",
< "title": "Blue ceramic mug",
< "description": "A reusable ceramic mug, 300 ml.",
< "link": "https://example.com/mug",
< "image_link": "https://example.com/mug.jpg",
< "availability": "in_stock",
< "price": "99.95 EUR",
< "gtin": "",
< "brand": "",
< "condition": "new",
< "identifier_exists": false
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/danielmichalek~merchant-feed-quality-auditor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'