$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "baselineCsv": "asin,seller,sku,currency,price,unit_cost,freight_cost,duty_cost,referral_fee_pct,fba_fee,units\nB000000001,Northwind Goods,NW-100,USD,29.99,9.50,1.20,0.60,15,5.10,120\nB000000001,Contoso Supply,CS-100,USD,28.99,9.80,1.10,0.60,15,5.10,60\nB000000002,Northwind Goods,NW-200,USD,19.99,6.00,0.90,0.30,15,3.80,200\nB000000003,Contoso Supply,CS-300,USD,49.00,20.00,2.50,1.00,15,7.00,40",
< "currentCsv": "asin,seller,sku,currency,price,unit_cost,freight_cost,duty_cost,referral_fee_pct,fba_fee,units\nB000000001,Northwind Goods,NW-100,USD,27.99,9.50,2.90,0.60,15,5.40,130\nB000000001,Contoso Supply,CS-100,USD,28.99,9.80,1.10,0.60,15,5.10,55\nB000000002,Northwind Goods,NW-200,USD,19.99,6.00,,0.30,15,3.80,210\nB000000003,Contoso Supply,CS-300,EUR,45.00,20.00,2.50,1.00,15,7.00,35"
<}
<EOF
$curl "https://api.apify.com/v2/actors/practical_ai_lab_jp~pal-amazon-landed-cost-margin-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'