$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "quote": {
< "schema_version": "1.0",
< "quote_id": "SQ-001",
< "currency": "USD",
< "items": [
< {
< "line_id": "A",
< "quantity": "3",
< "quantity_unit": "carton",
< "units_per_carton": "24",
< "unit_price": "1.20",
< "price_unit": "piece",
< "quoted_line_total": "86.40",
< "moq_quantity": "48",
< "moq_unit": "piece"
< }
< ],
< "quoted_subtotal": "86.40",
< "charges": [
< {
< "id": "F",
< "type": "freight",
< "amount": "20.00",
< "currency": "USD"
< }
< ],
< "quoted_grand_total": "106.40",
< "packages": [
< {
< "package_id": "P1",
< "package_count": 3,
< "length": "40",
< "width": "30",
< "height": "25",
< "dimension_unit": "cm",
< "gross_weight": "9",
< "net_weight": "8",
< "weight_unit": "kg",
< "quoted_cbm": "0.090000"
< }
< ],
< "quoted_cbm": "0.09"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/bewildering_tapestry~supplier-quote-validator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'