json icon

Order Confirmed

Published when payment, inventory, and order validation have succeeded and the order is ready for fulfilment.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "OrderConfirmed",
4  "description": "Published when an order is confirmed and ready for fulfilment",
5  "type": "object",
6  "properties": {
7    "orderId": { "type": "string", "format": "uuid" },
8    "customerId": { "type": "string", "format": "uuid" },
9    "confirmationNumber": { "type": "string", "pattern": "^ORD-[0-9]{8}$" },
10    "paymentAuthorizationId": { "type": "string" },
11    "inventoryReservationId": { "type": "string" },
12    "total": { "type": "integer", "minimum": 0, "description": "Confirmed total in minor units" },
13    "currency": { "type": "string", "pattern": "^[A-Z]{3}$" },
14    "confirmedAt": { "type": "string", "format": "date-time" }
15  },
16  "required": ["orderId", "customerId", "confirmationNumber", "total", "currency", "confirmedAt"],
17  "examples": [
18    {
19      "orderId": "7e86e1d8-cd5f-4d6f-ae8e-bdc5ed3a0d13",
20      "customerId": "5d1db561-4ce3-4f92-956a-b787c2f55342",
21      "confirmationNumber": "ORD-10428371",
22      "paymentAuthorizationId": "pa_9f38c0f0",
23      "inventoryReservationId": "res_48721",
24      "total": 12999,
25      "currency": "GBP",
26      "confirmedAt": "2026-07-29T09:42:18Z"
27    }
28  ]
29}
30