$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "pdfUrl": "https://steelindustries.s3.ap-southeast-1.amazonaws.com/price-lists/SteelIndustriesMay2025Catalogue.pdf",
< "options": {
< "pages": [
< 13
< ],
< "decimalSeparator": ".",
< "columns": [
< {
< "name": "sku",
< "start": 0.105
< },
< {
< "name": "description",
< "start": 0.175
< },
< {
< "name": "length_available",
< "start": 0.35
< },
< {
< "name": "lengths_per_sling",
< "start": 0.465
< },
< {
< "name": "cut_category",
< "start": 0.545
< },
< {
< "name": "kina_per_tonne",
< "start": 0.6
< },
< {
< "name": "price",
< "start": 0.685
< },
< {
< "name": "kg_per_metre",
< "start": 0.77
< },
< {
< "name": "metres_per_tonne",
< "start": 0.85
< }
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/excited_idea_uwl~catalogtrace-pdf-rows/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'