E-commerceintermediate

Order with Line Items JSON Example

A post-checkout order shape that captures status, payment, and line-level detail.

Real-world use case: Use this for order APIs, dashboards, warehouse systems, and customer order history.
1{
2 "orderId": "ord_7001",
3 "status": "paid",
4 "placedAt": "2026-03-10T14:12:00Z",
5 "customer": {
6 "id": "cus_9012",
7 "email": "[email protected]"
8 },
9 "lineItems": [
10 {
11 "lineId": "line_1",
12 "sku": "TSHIRT-BLK-M",
13 "quantity": 2,

Where this shape shows up in production

Order history
Warehouse integrations
Payment reconciliation

Related examples