Helpcenter +918010117117 https://cdn.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Webhooks

Available in Business Plan and above.

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.

You can manage webhooks in the Advanced Settings > Webhooks section of the StoreHippo Admin Panel

Setting up Webhooks

Click on the Add New button to create webhooks. Clicking on the Add new will open the following form:

Action

Select the events for which the webhooks are sent from the drop-down.

URL

Provide the URL on which the request is placed.

Headers

Mention the key and value for the headers. For example, 

Key: Content-Type

Value: application/JSON

Consuming Webhooks

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, a webhook for placing an order will receive the JSON data of the Order in the format defined in the API docs

Events

StoreHippo supports 12 events for the webhooks currently:

  1. Customer Creation: A webhook will be sent every time a new customer is created.
  2. Customer Update: A webhook will be sent every time a customer record is updated.
  3. Customer Delete: A webhook will be sent every time a customer record is deleted.
  4. Order Creation: A webhook will be sent every time an order is created.
  5. Order Update: A webhook will be sent every time an order has been updated.
  6. Order Delete: A webhook will be sent every time an order has been deleted.
  7. Product Creation: A webhook will be sent every time a product has been created.
  8. Product Update: A webhook will be sent every time a product has been updated.
  9. Product Delete: A webhook will be sent every time a product has been deleted.
  10. Product Enquiry: A webhook will be sent every time a product enquiry has been placed.
  11. Marketing user list: A webhook will be sent every time the mailing list (user list) is synced.
  12. Customer Enquiry: A webhook will be sent every time when a customer places an enquiry.
  13. Wallet Transaction Add: A webhook will be sent every time a wallet transaction is added.

Request

The request sent by StoreHippo would also include some headers:-

  • x-ms-store: The store name for which the request is made.
  • x-ms-entity: The entity on which for which the request is made.
  • x-ms-filebaseurl: The base URL that should be prefixed to all file paths in the webhook data to create the full URL.
  • x-ms-command: The operation performed on the entity.
  • x-ms-recordid: The id of the record on which the operation is performed (Only in case of Edit and Delete).
2022-07-29T08:37:55.722Z