I have a question related to custom event specs. I've seen that we already have some examples from marketplace, such as `user_login`. The problem with this event is that it requires `customer_id` and `customer_email` fields, but we cannot use `customer_`. We have two collections, users and customers. Not every user is a customer in our systems. When I try to create a custom event with my own specs, I get an error and it seems that I cannot use the same name (user_login) for my custom event.
So, to resume it, I want to create my own `user_login` event with my own fields. Is it possible? If not, why?
I've seen that your examples sometimes use `customer_email`, `customer_name`, but also `birthdate`. Shouldn't it be `customer_birthdate` to have a structured data?
Thank you for your support,
03-04-2020 12:38 PM - edited 03-04-2020 12:39 PM
The marketplace event specifications are pre-built events, and the only change that can be made to a marketplace specification is the addition of attributes to the definition. Users would encounter overlap and other issues if they created multiple "user_login" event specifications, for example.
I think you have a valid point in regards to modifying the pre-built events, and you should consider submitting your idea to our Product Idea Forum.