$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "product": "Desk lamp",
< "shop": "Sample Shop A",
< "price": 18.5,
< "stock": 12,
< "added": "2026-11-02",
< "url": "https://example.com/1"
< },
< {
< "product": "Office chair",
< "shop": "Sample Shop B",
< "price": 99,
< "stock": 3,
< "added": "2026-11-05",
< "url": "https://example.com/2"
< },
< {
< "product": "Notebook set",
< "shop": "Sample Shop A",
< "price": 9.25,
< "stock": 40,
< "added": "2026-11-09",
< "url": "https://example.com/3"
< },
< {
< "product": "Monitor stand",
< "shop": "Sample Shop B",
< "price": 27,
< "stock": 8,
< "added": "2026-11-12",
< "url": "https://example.com/4"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/abzalp~dataset-to-excel-report/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'