Create and publish a custom resource corresponding to purchases and link it to the Profile resource. This way, you will be able to retrieve information from this resource to enrich the message content.