pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

[TRIGGER] Ecwid Events

Open ctrlaltdylan opened this issue 3 years ago • 3 comments

Below is a source request for Ecwid webhooks from @trendoscope-algorithms . This was originally posted in the Pipedream Community

Ecwid API documentation:

https://developers.ecwid.com/ecwid-api


Hi all,

I see that new component created for Ecwid which is very basic at present. And it can only call Ecwid API to get certain data. Here is the git issue. [APP] Ecwid Integration · Issue #4050 · PipedreamHQ/pipedream · GitHub But it is already closed.

Ecwid also generates events which can be captured via webhooks. I have implemented this as my own separate app and just for my integration. But, this can also be implemented as generic pipedream app in Ecwid.

Here how it should work.

In Ecwid space

Create pipedream app in Ecwid Request Ecwid to update webhook (Which is single webhook for all integrations) - something like ecwid.pipedream.com/events/ - All the ecwid events for pipedream will be received here. In Pipedream space

Users when install ecwid plugin by providing store id and authorising through oauth. This perform two things: Install pipedream app on ecwid store of the user New webhook generated in the user source and webhook to store association stored with pipedream. Process

Any event generated by Ecwid stores which has pipedream app installed, pipedream’s registered webhook will receive that event via post request. Pipedream now should check the store id in that event, map it to user webhooks and forward the events to all the mapped user webhooks. Thoughts?

ctrlaltdylan avatar Aug 30 '22 14:08 ctrlaltdylan

Hello, I have also checked Ecwid doc and deemed that we need to create Pipedream app on Ecwid first in order to setup Webhook. Hence, I will add this to our Apps & Integrations backlog 🙏

vunguyenhung avatar Aug 30 '22 15:08 vunguyenhung

Thanks for the request! We've added this to our integrations backlog, and we'll update this ticket with progress.

dylburger avatar Aug 30 '22 15:08 dylburger

Can you guys tell me how does the app creation works right now? Will there be new app generated for every integration or is it a single app which is just installed on different stores?

trendoscope-algorithms avatar Sep 04 '22 13:09 trendoscope-algorithms