aggregateId
, it will automatically create a corresponding aggregate type for that id, in this example the aggregate type is order
.order
with ID 723ecfce-14e9-4889-98d5-a3d0ad54912f
using a HTTP POST
command:order
by its aggregateId
.OrderPaidEvent
!POST
command to add events: