PipedreamHQ / PipedreamHQ/pipedream

[TRIGGER] Ecwid Events

Open
#4,123 3 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted triaged trigger / source
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

Below is a source request for Ecwid webhooks from @trendoscope-algorithms . This was originally posted in the [Pipedream Community](https://pipedream.com/community/t/ecwid-integration-enhancements/3082)

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](https://github.com/PipedreamHQ/pipedream/issues/4050) 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/](http://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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.