OrderConfirmed
v0.0.1

Event represents when an order has been confirmed and ready to be processed (shipped for example)
When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.

Details

This event is triggered when the customers order has been verified and the stock has been checked. Once this event is triggered we are safe to say it is ready for shipment.

Consumer/Producer Diagram

OrderConfirmed Schema (json)
{
  "$id": "https://example.com/OrderRequested.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderRequested",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object",
      "properties": {
        "correlationId": {
          "type": "string",
          "description": "The ID of the user"
        },
        "domain": {
          "type": "string",
          "description": "The domain of the event"
        },
        "service": {
          "type": "string",
          "description": "The name of the service that triggered the event"
        }
      },
      "required": ["correlationId", "domain", "service"]
    },
    "data": {
      "type": "object",
      "properties": {
        "userId": {
          "type": "string",
          "description": "The ID of the user"
        },
        "orderId": {
          "type": "string",
          "description": "The ID the users order"
        }
      }
    }
  }
}
Edit this pageLast updated on 2024/1/16