Webhooks are HTTP callbacks that allow you to push real-time information to other applications in case of certain events e.g. when an order is placed or when a user registers on the site. A Webhook delivers the data immediately as it happens.
Unlike REST APIs where you need to poll very frequently in order to get near real-time data, webhooks provides a much more efficient way to receive real-time data from your store.
APIs and Webhooks are two major ways to integrate third-party applications with the StoreHippo platform.
Click on the Add New button to create webhooks. Clicking on the Add new will open the following form:
Select the events for which the webhooks are sent from the drop-down.
Provide the URL on which the request is placed.
Mention the key and value for the headers. For example,
The URL that you specify in the webhook should be able to receive the data from the webhook. The data that is posted will be in the same structure as defined in the corresponding API. For example, webhook for placing an order will receive the JSON data of the Order in the format defined in the API docs.
StoreHippo supports 11 events for the webhooks currently:
The request sent by StoreHippo would also include some headers:-