$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "beforeText": "Handle,Title,Option1 Name,Option1 Value,Option2 Name,Option2 Value,Variant SKU,Variant Barcode,Variant Price\nlinen-tee,Linen Tee,Color,Natural,Size,S,LT-NAT-S,4901234567894,3800\nlinen-tee,,,Natural,,M,LT-NAT-M,4901234567900,3800\nlinen-tee,,,Natural,,L,LT-NAT-L,4901234567917,3800\nlinen-tee,,,Navy,,S,LT-NAV-S,4901234567924,3800\nlinen-tee,,,Navy,,M,LT-NAV-M,4901234567931,3800\ncanvas-tote,Canvas Tote,Size,Regular,,,CT-REG,0012345678905,2400\ncanvas-tote,,,Large,,,CT-LRG,4901234567948,2900\nsocks,Wool Socks,Size,23-25cm,,,WS-2325,4901234567955,1200\nsocks,,,25-27cm,,,WS-2527,4901234567955,1200\n",
< "afterText": "URL handle,Title,Option1 name,Option1 value,Option2 name,Option2 value,SKU,Barcodes,Price\nlinen-tee,Linen Tee,Color,Natural,Size,S,LT-NAT-S,4901234567894,3800\nlinen-tee,,,Natural,,M,LT-NAT-M,,3800\nlinen-tee,,,Natural,,L,LT-NAT-L,4901234567917,3500\nlinen-tee,,,Navy,,Small,LT-NAV-S,4901234567924,3800\ncanvas-tote,Canvas Tote,Size,Regular,,,CT-REG,012345678905,2400\ncanvas-tote,,,Large,,,CT-LARGE,4901234567948,2900\nsocks,Wool Socks,Size,23-25cm,,,WS-2325,4901234567955,1200\nsocks,,,25-27cm,,,WS-2527,4901234567962,1200\ngift-box,Gift Box,Title,Default Title,,,GB-01,,500\n"
<}
<EOF
$curl "https://api.apify.com/v2/actors/asunoki~shopify-variant-reconciliation/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'