$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "oldFeeSchedule": [
< {
< "sku": "MUG-BLUE-12",
< "fulfillmentFee": 3.22,
< "sizeTier": "Standard",
< "lengthIn": 5,
< "widthIn": 4,
< "heightIn": 4,
< "weightLb": 0.9
< },
< {
< "sku": "YOGA-MAT-6",
< "fulfillmentFee": 5.4,
< "sizeTier": "Standard",
< "lengthIn": 24,
< "widthIn": 6,
< "heightIn": 6,
< "weightLb": 2.4
< },
< {
< "sku": "LAMP-DESK-1",
< "fulfillmentFee": 6.1,
< "sizeTier": "Large",
< "lengthIn": 18,
< "widthIn": 10,
< "heightIn": 8,
< "weightLb": 3.1
< }
< ],
< "newFeeSchedule": [
< {
< "sku": "MUG-BLUE-12",
< "fulfillmentFee": 3.4,
< "sizeTier": "Standard",
< "lengthIn": 5,
< "widthIn": 4,
< "heightIn": 4,
< "weightLb": 0.9
< },
< {
< "sku": "YOGA-MAT-6",
< "fulfillmentFee": 6.25,
< "sizeTier": "Large",
< "lengthIn": 26,
< "widthIn": 7,
< "heightIn": 7,
< "weightLb": 2.4
< },
< {
< "sku": "LAMP-DESK-1",
< "fulfillmentFee": 6.1,
< "sizeTier": "Large",
< "lengthIn": 18,
< "widthIn": 10,
< "heightIn": 8,
< "weightLb": 3.1
< }
< ],
< "products": [
< {
< "sku": "MUG-BLUE-12",
< "price": 18.99,
< "unitCost": 4.1,
< "monthlyUnits": 300,
< "lengthIn": 5,
< "widthIn": 4,
< "heightIn": 4,
< "weightLb": 0.9
< },
< {
< "sku": "YOGA-MAT-6",
< "price": 24.99,
< "unitCost": 8.5,
< "otherCostPerUnit": 0.6,
< "monthlyUnits": 120,
< "lengthIn": 24,
< "widthIn": 6,
< "heightIn": 6,
< "weightLb": 2.4
< },
< {
< "sku": "LAMP-DESK-1",
< "price": 29.99,
< "unitCost": 11,
< "monthlyUnits": 80,
< "lengthIn": 18,
< "widthIn": 10,
< "heightIn": 8,
< "weightLb": 3.1
< },
< {
< "sku": "NO-FEE-SKU",
< "price": 15,
< "unitCost": 5
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/practical_ai_lab_jp~pal-amazon-fulfillment-fee-change-impact-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'