Order Fulfilled (v0.0.1)

Indicates an order has been fulfilled by virtue of all of its items having been fulfilled

Event

Overview

Occurs once all of the line items in a given order have been fulfilled. This event also carries with it the list of all order items that were on the order when it was fulfilled.

Architecture Diagram

publishes eventsubscribed by
Orders
v0.0.1Service
Order Fulfilled
v0.0.1Event
Inventory
v0.0.1Service
Key
  • Event
  • Service
  • Command

Example Payload

Example payload
{
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"orderItems": [
{
"itemId": "123e4567-e89b-12d3-a456-426614174000",
"sku": "ABC1234",
"quantity": 7
}
],
"timestamp": "2024-07-04T14:48:00Z"
}

Schema (JSON)

orderId
string<uuid>
required

The unique identifier of the order that was fulfilled.

orderItems
array[object]

A list of the line items on the order at the time of fulfillment.

itemId
string<uuid>
required

The unique identifier of the line item.

sku
string

The SKU for this item

quantity
integer

The quantity of the item ordered.

notes
string

Optional notes describing the fulfillment.

timestamp
string<date-time>
required

The date and time when the order was fulfilled.