You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I is from Nepal. Me in deep trouble. Me company telling me how I making webhook inside backbone js. Me try to use existing PHP Event module. Me no find solution after 1 weeks and it showing me bery dengerours error.
Please telling us when to implement a general webhook API to emit events from PIM. My job was in danger. Please halp! 🙏
The text was updated successfully, but these errors were encountered:
Hello @sumanwebidigital ! You can define custom webhooks in routes.json file. As example, we have Product/associatedMainProducts/relation route. It is binded to that method. In other way, you can use this route. It binds some action to entity. For example, you need to define "assignItems" action on Product entity. You need to create actionAssignItems method in the Product controller. Your route for this action is Product/action/assignItems. Note that all routes are relative to the API endpoint: /api/v1/Product/action/assignItems as example.
On the frontend side, you can make requests using this function. Pass relative part of route as URL parameter. Here is example.
The text was updated successfully, but these errors were encountered: