How to use webhooks
Automate workflows with How to use webhooks. Connect Easytools to your tech stack for real-time data syncing.
Last updated
September 14, 2024
Using webhooks in Easycart is a powerful technique that allows you connect thousands of apps with tools such as Zapier or Make, or your custom API. Thanks to webhooks, you can quickly create automation scenarios:
- For the apps we don't yet support natively
- For more complex scenarios, where you want to trigger and exchange data with multiple apps
See, how easily you can work with webgooks and automations:
Webhooks can be added either:
- Globally in Store settings → API & Webhooks - this means that provided webhook address will be added to each new checkout
- For the individual Checkout, in Automations → Webhook menu. Providing webhook address there is also a way of overriding the global settings
Once the webhook is set, we will send multiple events to this webhook, connected to transactions.
Here you will find the full list of events.
Important! When transaction succeeds we send two different webhooks, single_product_bought (or subscription_created) but also product_ assigned. This is because we offer Buy for someone else feature, when used, customer has to assign the access. But even if this feature is turned off, for consistency, we also send this webhook and automatically assing the product to the buyer. This is why it's best to rely with your automations only on product_ assigned event, not single_product_bought (or subscription_created). This way you will make sure, that all of the use cases are covered, even if later you decide to enable Buy for someone else feature.