Skip to main content

Order Summary Message

Final order summary chat message.

What This Example Demonstrates​

The order summary is a normalized customer-facing receipt shown after the commerce backend confirms completion. It carries the order identifier, timestamp, product summary, masked payment description, total, and delivery destination.

How to Use It​

Populate this message only from the completed order response. Keep payment information masked and provide the canonical order ID for support and order tracking. Do not infer success from a prior payment modal or optimistic client state.

{
"description": "Extended logical payloads for the reference commerce UI. These examples can be used as mock API responses, Storybook fixtures, or frontend integration test data.",
"orderSummaryMessage": {
"id": "msg_order_summary_001",
"role": "assistant",
"content": "Your order has been completed.",
"showActions": true,
"actionType": "order_summary",
"orderSummary": {
"orderId": "ord_20260611_0001",
"orderDate": "2026-06-11T09:45:00Z",
"productName": "Black Waterproof Hiking Jacket / Medium",
"productImage": "https://cdn.example.com/products/jacket-black-main.jpg",
"cardInfo": "Personal payment card ending in 4242",
"totalAmount": "$129.90",
"shippingAddress": {
"name": "Example User",
"address": "Example Street 1",
"city": "Example City",
"district": "Manhattan"
}
}
}
}