$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "pairs": [
< {
< "id": "same-model",
< "left": {
< "title": "ACME A100 electric drill 18V blue tool only",
< "brand": "ACME",
< "mpn": "A100",
< "color": "blue",
< "packQuantity": "1",
< "condition": "new"
< },
< "right": {
< "title": "ACME A100 18 volt drill blue without battery",
< "brand": "ACME",
< "mpn": "A100",
< "color": "blue",
< "packQuantity": "1",
< "condition": "new"
< }
< },
< {
< "id": "pack-conflict",
< "left": {
< "title": "Filter F20 1 pack",
< "packQuantity": "1"
< },
< "right": {
< "title": "Filter F20 6 pack",
< "packQuantity": "6"
< }
< },
< {
< "id": "capacity-conflict",
< "left": {
< "title": "Phone Z 128 GB",
< "capacity": "128 GB"
< },
< "right": {
< "title": "Phone Z 256 GB",
< "capacity": "256 GB"
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/dapper_locket~product-variant-match-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'