How to use class events in Apps?

Hi

I am using webhooks in my App

how to use LineItemAddedEvent in webhooks tags like the following

LineItemAddedEvent is a class name, not an event name.

how to use this type of event in Apps?

Hi,

Right now we only support some specific events.

The events you can subscribe to are all event classes that implement the \Shopware\Core\Framework\Event\BusinessEventInterface interface as well as all \Shopware\Core\Framework\DataAbstractionLayer\Event\EntityWrittenContainerEvent events.

 

@sfranze schrieb:

Then which events can be used for product add, quantity update, and product remove from the cart?

 

@sfranze wrote:

Hi

is it possible to add the LineItemAddedEvent in the following way in Shopware Apps?