klaviyo / magento2-klaviyo

37 stars 51 forks source link

Product Delete Webhook & API #88

Closed remstone7 closed 3 years ago

remstone7 commented 3 years ago

This does the first pass for starting to add webhooks.

The first one will be the ProductDeleteBefore as well as adding a webhook secret for validation

remstone7 commented 3 years ago

One larger thought, and this could very well be outside the scope of this pr, but any merit in a base class for other observers to inherit from? I assume other product related webhooks are going to be similar in terms of store scoping.

yes 100% this will happen, wasn't going to do it in this PR for time sensitivity, but we will have base classes for orders/products