Webhooks
Webhooks allow your store to send automated notifications to other systems whenever certain events happen (like order updates, user actions, etc.). This guide explains how to add a webhook using the MyStore admin panel.
1. Navigate to the Webhooks Section
- Log in to your Mystore admin dashboard.
- From the left sidebar, scroll to the Settings section and click on Webhooks.
- You will now see a list of all existing webhooks configured in your store.
2. Add a New Webhook
To add a new webhook:
- Click the “Add New” button at the top-right corner of the screen.
- You’ll see a form like the one in the screenshot above. Here's what each field means:
Field | Explanation |
---|---|
Event (Required) | Choose the event that should trigger the webhook (e.g., order.created, product.updated). You can search and select from predefined global events. |
URL (Required) | Enter the destination URL where the webhook payload should be sent. This must be a valid endpoint on your server that can receive POST requests. |
Headers (Optional) | If the endpoint requires custom headers (e.g., API keys or content types), click “Add Record” and enter the Key and Value for each header. |
Seller | If you want this webhook to be triggered only for a specific seller, search and select that seller here. |
Seller Manager | Similar to above, you can restrict this webhook to work only for a specific seller manager by selecting them here. |
3. Save the Webhook
Once you've filled out all the necessary fields:
Click the “Submit” button located at the top-right corner of the screen.
Your webhook will now be active and ready to send payloads whenever the selected event is triggered.
Was this page helpful?