订单确认响应
中级 电子商务
包含客户详情、商品和订单总计的订单确认。 一个真实、可直接使用的示例,你可以复制、调整,或用来测试自己的代码。
{
"orderId": "ORD-88213",
"status": "confirmed",
"placedAt": "2026-09-07T14:32:00Z",
"customer": {
"name": "Priya Nair",
"email": "priya@example.com"
},
"items": [
{ "sku": "MUG-BLK", "name": "Black ceramic mug", "qty": 2, "unitPrice": 12.50 },
{ "sku": "TEE-NVY-M", "name": "Navy T-shirt (M)", "qty": 1, "unitPrice": 24.00 }
],
"totals": {
"subtotal": 49.00,
"tax": 3.92,
"shipping": 4.99,
"grandTotal": 57.91
}
} - order
- ecommerce
- checkout