Webhook triggers
Webhook triggers allow you to react to events happening in your Shopify store. When an event occurs, Shopify sends event-related payload data to your hook, which you can use to perform specific actions. This allows you to perform custom actions based on store activities.
Setting up a webhook trigger
1) On the "Trigger" tab of your hook, select "Shopify" as the trigger type
2) Choose the event you want to trigger your hook
3) Press the “Select trigger” button
Each trigger event comes with a sample payload that you can use as a template for testing. When testing your hook, you can edit the sample payload data to simulate different scenarios and test your implementation.
Available trigger events
When any of the following events occur, Shopify will send event-specific data to your hook's function as its first parameter:
| Event | Type |
| Order | |
| An order is created | Webhook |
| An order is paid for | Webhook |
| An order is canceled | Webhook |
| An order is deleted | Webhook |
| An order is fulfilled | Webhook |
| An order is updated | Webhook |
| An order transaction occurs | Webhook |
| Draft order | |
| A draft order is created | Webhook |
| A draft order is updated | Webhook |
| A draft order is deleted | Webhook |
| Customer | |
| A customer has signed up | Webhook |
| A customer is updated | Webhook |
| A customer is deleted | Webhook |
| A customer is disabled | Webhook |
| A customer is enabled | Webhook |
| Customer | |
| A cart is created | Webhook |
| A cart is updated | Webhook |
| Checkout | |
| A customer begins checkout | Webhook |
| A customer updates their checkout | Webhook |
| A customer deletes their checkout | Webhook |
| Fulfillment | |
| An order fulfillment is created | Webhook |
| An order fulfillment is updated | Webhook |
| A fulfillment event occurs | Webhook |
| A fulfillment event is deleted | Webhook |
| Inventory level | |
| An intentory level is connected | Webhook |
| An intentory level is updated | Webhook |
| An intentory level is disconnected | Webhook |
| Refund | |
| A refund is issued | Webhook |
| Product | |
| A product is added | Webhook |
| A product is updated | Webhook |
| A product is deleted | Webhook |
| A product listing is added | Webhook |
| A product listing is removed | Webhook |
| A product listing is updated | Webhook |