Information
Enad allows you to register for webhook events sent over HTTP.Supported events
- Product
- Variants
- Tags
- Categories
- Markets
- Store Groups
- Prices
- Stocks
Ack deadline
A webhook will be dropped and marked as failure if there is no 200 response within 15 seconds. It will be retried later on.Events structure
All of our events start with the 2 JSON keysevent_type and payload.
event_type describes the type of event, and payload is the data.
The event_type is structured as category.type of event.
Authentication
We only support authentication using a header key and a header value. These values will be set in the request headers before sending the request.| Header key | Header value |
|---|---|
Authorization | Bearer xqwerty12345 |
x-api-key or api-key.
Authorization is requried.
Retry policy
We will retry events up to 5 times before considering them a failure.Use Cases
Some use cases for webhook events are:- Revalidate frontend.
- Stock and price updates in external systems.
- Product information updates in external systems.
- Alerts
Managing events
Register a webhook by:- Logging into Enad Admin.
- Clicking the app to which you want to add a webhook.
- Going to
System->Integrations->Add new integrationand following the instructions in the dialog.