aggregateIdentifier is not visible for the client application

Hello Experts,

I have a microservice “Order”. This microservice get the command as request from multiple client application.

For my event store, I am using UUID as aggregateIdentifier. This aggregateIdentifier is not visible for the client application.

My question, how the client application know about the aggregateIdentifier?

Thanks & Regards,

Vikas

If it’s a new order the client can generate the order id. If it’s an existing order the is is known from the readmodel.