OrderComplete
v0.0.1

Event represents when an order has been complete. (Delivered and finished)
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 the final event of the ordering process. It gets raised when the shipment has been delivered.

Consumer/Producer Diagram

OrderComplete 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