$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "listingsCsv": "TITLE,DESCRIPTION,PRICE,CURRENCY_CODE,QUANTITY,TAGS,MATERIALS,IMAGE1,IMAGE2\n\"Custom Pet Portrait, Digital Download\",\"Sample listing. A hand-drawn style portrait of your pet from your photo. Digital file, nothing is shipped.\",24.00,USD,999,\"pet portrait,custom pet art,dog portrait\",digital file,https://i.etsystatic.com/sample1.jpg,https://i.etsystatic.com/sample2.jpg\n\"Printable Wedding Seating Chart Template\",\"Sample listing. Editable seating chart you print at home or at a local print shop. Digital file, nothing is shipped.\",9.00,USD,999,\"seating chart,wedding template\",digital file,https://i.etsystatic.com/sample3.jpg,\n"
<}
<EOF
$curl "https://api.apify.com/v2/actors/steadfeed~etsy-listing-health-checker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'