Setting up webhooks
Setup process is easy. Once your application has a webhook URL specified in the settings and has a token with appropriate access level for the store, it will receive notifications automatically. More details on these are below.
1. Set webhook URL
After you successfully registered your application with Ecwid, please contact us and provide a single webhook URL – Ecwid will send a request to this URL each time a supported event occurs. To enable or modify webhooks for existing application, please contact us as well.
2. Set webhook events
There are several types of events in the store that Ecwid can notify your application about, check out Event type section of webhook structure for more details.
Please specify the exact event types you wish to be notified about upon registering your application or contact us if you already have an app.
3. Set custom HTTP headers (optional)
You are also able to specify your custom HTTP headers to be provided by Ecwid when sending webhooks to your URL. If you want to add custom headers to your app, please contact us. Learn more about custom HTTP headers
4. Get access
Each application has scope of access that controls the set of store resources and operations permitted for the application. The same set of access scopes is used to determine which events your application can be notified of. To be notified of the product updates, make sure your app has
read_catalog access to the store. The
read_orders scope allows to get order webhooks. See Access scopes for more details.