$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "csv": "id,title,description,link,image_link,availability,price,brand,gtin,mpn\nSKU-1001,Oak desk,Compact oak writing desk,https://example.com/desk,https://example.com/desk.jpg,in_stock,129.00 EUR,Example Studio,,OAK-1\nSKU-1002,Reading lamp,Adjustable metal reading lamp,https://example.com/lamp,https://example.com/lamp.jpg,in_stock,39.00 EUR,Example Studio,,LAMP-2\nSKU-1003,Linen cushion,Soft linen cushion cover,https://example.com/cushion,https://example.com/cushion.jpg,in_stock,29 euros,Example Studio,,LIN-3\nSKU-1004,Ceramic vase,Hand glazed ceramic vase,https://example.com/vase,https://example.com/vase.jpg,out_of_stock,24.00 EUR,Example Studio,,VAS-4\nSKU-1005,Wall shelf,Small wall mounted shelf,https://example.com/shelf,https://example.com/shelf.jpg,in_stock,49.00 EUR,Example Studio,,SH-5\nSKU-1006,Table mirror,Round standing mirror,https://example.com/mirror,https://example.com/mirror.jpg,in_stock,34.00 EUR,Example Studio,,MIR-6\nSKU-1007,Cotton throw,Woven cotton throw,https://example.com/throw,,in_stock,59.00 EUR,Example Studio,,THR-7\nSKU-1008,Storage basket,Natural woven basket,https://example.com/basket,https://example.com/basket.jpg,available,19.00 EUR,Example Studio,,BAS-8\nSKU-1009,Side table,Small solid wood side table,https://example.com/table,https://example.com/table.jpg,in_stock,89.00 EUR,Example Studio,,TB-9\nSKU-1010,Glass jug,Clear glass water jug,https://example.com/jug,https://example.com/jug.jpg,in_stock,18.00 EUR,Example Studio,1234567890123,JUG-10\nSKU-1011,Serving tray,Lightweight serving tray,https://example.com/tray,https://example.com/tray.jpg,in_stock,22.00 EUR,,,\nSKU-1012,Coaster set,Four cork coasters,https://example.com/coasters,https://example.com/coasters.jpg,in_stock,12.00 EUR,Example Studio,,CO-12"
<}
<EOF
$curl "https://api.apify.com/v2/actors/onixcatalogdesk~onix-catalog-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'