Cloudhooks Help

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:

EventType
Order
An order is createdWebhook
An order is paid forWebhook
An order is canceledWebhook
An order is deletedWebhook
An order is fulfilledWebhook
An order is updatedWebhook
An order transaction occursWebhook
Draft order
A draft order is createdWebhook
A draft order is updatedWebhook
A draft order is deletedWebhook
Customer
A customer has signed upWebhook
A customer is updatedWebhook
A customer is deletedWebhook
A customer is disabledWebhook
A customer is enabledWebhook
Customer
A cart is createdWebhook
A cart is updatedWebhook
Checkout
A customer begins checkoutWebhook
A customer updates their checkoutWebhook
A customer deletes their checkoutWebhook
Fulfillment
An order fulfillment is createdWebhook
An order fulfillment is updatedWebhook
A fulfillment event occursWebhook
A fulfillment event is deletedWebhook
Inventory level
An intentory level is connectedWebhook
An intentory level is updatedWebhook
An intentory level is disconnectedWebhook
Refund
A refund is issuedWebhook
Product
A product is addedWebhook
A product is updatedWebhook
A product is deletedWebhook
A product listing is addedWebhook
A product listing is removedWebhook
A product listing is updatedWebhook

Related articles