NDJSON Template

One line = one JSON record.

Download template: orders.ndjson - 3 example records

Example record:

{
  "occurredAt": "2025-11-10T10:00:00Z",
  "order": {
    "externalOrderId": "NDJ-1001",
    "email": "[email protected]",
    "status": "fulfilled",
    "currency": "USD",
    "totals": {
      "subtotalFees": 89.97,
      "shippingFees": 5.0,
      "taxFees": 9.5,
      "totalFees": 104.47
    },
    "placedAt": "2025-11-10T10:00:00Z",
    "items": [
      { "sku": "SKU-AAA111", "name": "Item A", "qty": 1, "unitPrice": 49.99 },
      { "sku": "SKU-BBB222", "name": "Item B", "qty": 2, "unitPrice": 19.99 }
    ],
    "fulfillment": [
      {
        "type": "shipped",
        "carrier": "UPS",
        "trackingNumber": "1Z999AA10123456784",
        "occurredAt": "2025-11-11T09:00:00Z"
      }
    ]
  }
}

Last updated