Notification Message Example - "order.created"
{
"id": "7d6482b0-2d9c-4761-beb8-787f1a36a810",
"eventType": "order.created",
"subscriptionId": "1283c215-e004-4e78-90dc-d62136f3cbf1",
"timestamp": "2025-01-01T01:02:03.123+00:00",
"data": {
"orderDetails": {
"customerOrderId": "CustomerOrderId",
"orderDate": "2025-01-01T01:02:03.123+00:00",
"lineItems": [
{
"productId": "ProductId",
"name": "Product-Name",
"customerLineItemId": "CustomerLineItemId",
"quantity": 1,
"unitPrice": 113.99,
"discount": 0,
"status": "Pending"
}
],
"discountTotal": 0,
"subTotal": 113.99,
"salesTax": 0,
"grandTotal": 113.99,
"disposition": "api"
}
}
}
NOTE: The object contained in the data
node of the message will be equivalent to the object returned by the /api/v0/orders/:customerOrderId
call. See /api/v0/orders/customerOrderId for more detail.