$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "offers": [
< {
< "asin": "B000000001",
< "seller": "Seller Alpha",
< "price": 24.99,
< "currency": "USD",
< "collectedAt": "2026-11-02T09:30:00Z",
< "marketplace": "amazon.com",
< "condition": "new"
< },
< {
< "asin": "B000000001",
< "seller": "Seller Beta",
< "price": "23.50",
< "currency": "USD",
< "collectedAt": "2026-10-27T08:00:00Z",
< "marketplace": "amazon.com",
< "condition": "new"
< },
< {
< "asin": "B000000001",
< "seller": "Seller Gamma",
< "price": 22.1,
< "currency": "EUR",
< "collectedAt": "2026-11-02T10:15:00Z",
< "marketplace": "amazon.com",
< "condition": "new"
< },
< {
< "asin": "B000000002",
< "seller": "Seller Alpha",
< "price": "$18.00",
< "currency": "$",
< "collectedAt": "2026-11-02T11:00:00",
< "marketplace": "amazon.com",
< "condition": "new"
< },
< {
< "asin": "B000000002",
< "price": 17.25,
< "currency": "USD",
< "collectedAt": "2026-11-02T11:20:00Z",
< "marketplace": "amazon.com",
< "condition": "new"
< },
< {
< "asin": "B000000002",
< "seller": "Seller Delta",
< "price": 17.9,
< "currency": "USD",
< "collectedAt": "2026-11-02T11:40:00Z",
< "marketplace": "amazon.com",
< "condition": "new"
< }
< ],
< "referenceTime": "2026-11-02T12:00:00Z",
< "expectedCurrency": "USD"
<}
<EOF
$curl "https://api.apify.com/v2/actors/practical_ai_lab_jp~pal-amazon-offer-data-freshness-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'