{
  "input": {
    "orderLines": [
      {
        "lineId": "01",
        "orderId": "001",
        "sku": "A",
        "ordered": 5,
        "cancelled": 1
      },
      {
        "lineId": "02",
        "orderId": "001",
        "sku": "B",
        "ordered": 2,
        "cancelled": 0
      }
    ],
    "shipments": [
      {
        "shipmentId": "S1",
        "lineId": "01",
        "shipped": 3
      },
      {
        "shipmentId": "S2",
        "lineId": "02",
        "shipped": 2
      }
    ]
  },
  "expected": {
    "summary": "1 lines need fulfillment review.",
    "rows": [
      {
        "lineId": "01",
        "orderId": "001",
        "sku": "A",
        "requiredUnits": 4,
        "shippedUnits": 3,
        "remainingUnits": 1,
        "overShippedUnits": 0,
        "status": "partial"
      },
      {
        "lineId": "02",
        "orderId": "001",
        "sku": "B",
        "requiredUnits": 2,
        "shippedUnits": 2,
        "remainingUnits": 0,
        "overShippedUnits": 0,
        "status": "fulfilled"
      }
    ],
    "warnings": [
      "Supplied shipment quantities only; no carrier or delivery verification."
    ]
  }
}
