$echo '{
< "snapshotId": "promo-2026-10-02",
< "stockPoolId": "warehouse-main",
< "asOf": "2026-10-02T06:00:00Z",
< "inventoryCoverage": "complete",
< "demandCoverage": "complete",
< "missingInventoryPolicy": "unresolved",
< "inventory": [
< {
< "recordId": "stock-01",
< "componentSku": "001",
< "availableUnits": 10
< },
< {
< "recordId": "stock-02",
< "componentSku": "002",
< "availableUnits": 8
< },
< {
< "recordId": "stock-03",
< "componentSku": "003",
< "availableUnits": 6
< }
< ],
< "inventoryCsv": "",
< "inventoryColumns": {
< "recordId": "recordId",
< "componentSku": "componentSku",
< "availableUnits": "availableUnits"
< },
< "bom": [
< {
< "recordId": "bom-01",
< "bundleSku": "gift-a",
< "componentSku": "001",
< "unitsPerBundle": 2
< },
< {
< "recordId": "bom-02",
< "bundleSku": "gift-a",
< "componentSku": "002",
< "unitsPerBundle": 1
< },
< {
< "recordId": "bom-03",
< "bundleSku": "gift-b",
< "componentSku": "001",
< "unitsPerBundle": 1
< },
< {
< "recordId": "bom-04",
< "bundleSku": "gift-b",
< "componentSku": "003",
< "unitsPerBundle": 2
< }
< ],
< "bomCsv": "",
< "bomColumns": {
< "recordId": "recordId",
< "bundleSku": "bundleSku",
< "componentSku": "componentSku",
< "unitsPerBundle": "unitsPerBundle"
< },
< "demand": [
< {
< "recordId": "plan-01",
< "itemType": "bundle",
< "sku": "gift-a",
< "quantity": 4
< },
< {
< "recordId": "plan-02",
< "itemType": "bundle",
< "sku": "gift-b",
< "quantity": 3
< },
< {
< "recordId": "plan-03",
< "itemType": "component",
< "sku": "001",
< "quantity": 2
< }
< ],
< "demandCsv": "",
< "demandColumns": {
< "recordId": "recordId",
< "itemType": "itemType",
< "sku": "sku",
< "quantity": "quantity"
< }
<}' |
<apify call h_murdock/bundle-component-demand-audit --silent --output-dataset