$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "propertyScope": "demo-property-opaque",
< "exportScope": "daily-purchase-and-paid-order-exports",
< "purchaseValueBasis": "merchandise net of discounts; excludes tax and shipping",
< "orderValueBasis": "merchandise net of discounts; excludes tax and shipping",
< "tolerance": "0.01",
< "window": {
< "start": "2026-09-30T00:00:00Z",
< "end": "2026-10-01T00:00:00Z",
< "timezone": "Z"
< },
< "purchaseCoverage": "complete",
< "orderCoverage": "complete",
< "purchases": {
< "rows": [
< {
< "rowId": "00001",
< "transactionId": "00001",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "10.000000"
< },
< {
< "rowId": "00002",
< "transactionId": "00002",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "15.20"
< },
< {
< "rowId": "event-only",
< "transactionId": "event-only",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "4.00"
< },
< {
< "rowId": "duplicate",
< "transactionId": "duplicate",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "12.00"
< },
< {
< "rowId": "duplicate",
< "transactionId": "duplicate",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "12.00"
< },
< {
< "rowId": "currency",
< "transactionId": "currency",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "EUR",
< "value": "9.00"
< },
< {
< "rowId": "missing-id-row",
< "transactionId": null,
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "8.00"
< },
< {
< "rowId": "old",
< "transactionId": "old",
< "timestamp": "2026-09-29T12:00:00Z",
< "currency": "USD",
< "value": "6.00"
< }
< ]
< },
< "orders": {
< "rows": [
< {
< "rowId": "00001",
< "transactionId": "00001",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "10.01"
< },
< {
< "rowId": "00002",
< "transactionId": "00002",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "15.00"
< },
< {
< "rowId": "order-only",
< "transactionId": "order-only",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "2.00"
< },
< {
< "rowId": "duplicate",
< "transactionId": "duplicate",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "12.00"
< },
< {
< "rowId": "currency",
< "transactionId": "currency",
< "timestamp": "2026-09-30T12:00:00Z",
< "currency": "USD",
< "value": "9.00"
< }
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/h_murdock~ga4-order-reconciliation/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'