Batches & Best Before Dates

Most food products have a limited shelf life which needs to be tracked by both supplier and buyer. Therefore, the connector needs to be able to report batch identification and best-before dates on every outbound shipping notice.

Rules

  1. Per line item, one or more batches including best-before date can be returned

Example

"items": [
  {
    "lineNumber": 1,
    "orderLineNumber": 1,
    "identifiers": [...],
    "isDepositItem": false,
    "orderedQuantity": 20,
    "shippedQuantity": 20,
    "description": "First product description.",
    "batches":
      [
        {
          "batchIdentifier": "BATCH_ID_1",
          "expirationDate": "2022-12-24",
          "quantity": 15.0
        },
        {
          "batchIdentifier": "BATCH_ID_2",
          "expirationDate": "2022-12-31",
          "quantity": 5.0
        }
      ]
  }
]