PipedreamHQ/pipedream

[TRIGGER] Ecwid Events

Open

#4,123 创建于 2022年8月30日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (7,438 star) (5,305 fork)batch import
enhancementgood first issuehelp wantedtriagedtrigger / source

描述

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?

贡献者指南