E-commerce & Logistics
Order Confirmation
Post-checkout confirmation — items, shipping details, delivery estimate, and totals.
The contract
Fields your API call provides. Amounts and totals are always computed by the caller — templates only format.
| tax | number | required |
| items[].name | string | required |
| items[].price | number | required |
| items[].quantity | number | required |
| total | number | required |
| customer.name | string | required |
| shipping.method | string | required |
| shipping.address | string | required |
| subtotal | number | required |
| order_date | string | required |
| order_number | string | required |
| shipping_cost | number | required |
| support_email | string | required |
| estimated_delivery | string | required |
MCP-ready: forks of this template will expose generate_order_confirmation when the MCP server ships.
Generate it (after you fork & publish)
curl -X POST https://your-paperbrain-host/api/generate/gen_<your-id> \
-H "Content-Type: application/json" \
-d '{
"tax": 19.43,
"items": [
{
"name": "Linen throw blanket — sage",
"price": 89,
"quantity": 1
},
{
"name": "Stoneware mug set (4)",
"price": 96,
"quantity": 2
},
{
"name": "Beeswax candle, large",
"price": 34,
"quantity": 1
}
],
"total": 246.43,
"customer": {
"name": "Priya"
},
"shipping": {
"method": "Standard (3-5 business days)",
"address": "88 Alder Street, Apt 4B, Brooklyn, NY 11211"
},
"subtotal": 219,
"order_date": "2026-06-10",
"order_number": "#10482",
"shipping_cost": 8,
"support_email": "help@fernandflame.example",
"estimated_delivery": "2026-06-16"
}'gen_<your-id>is your generator's id once you fork and publish. The body shown is this template's sample data — the exact shape the contract validates.