Hi everyone,
Im receiving a webhook POST call from an external app, and I need to get the member’s roles to select the action to fire.
Hi everyone,
Im receiving a webhook POST call from an external app, and I need to get the member’s roles to select the action to fire.
Http function are not executed by members. They are used by external client to request action on your website. The notion of logged used does not apply here.
You need to implement another authentification mechanism for http-functions (ei: API key)
In this case, we have a webhook coming from ECWID store with a product order completed, and I need to change the role of the member who made the transaction (getting the email form webhook body info, and from there the wix userId)