Important Thunder Webhooks work together with the Thunder Script. The script tracks visitors and attribution, while webhooks provide product and order data. Both integrations are required for complete attribution.
| Event | Trigger | Purpose |
|---|---|---|
| order.create | A new order is created | Creates a purchase in Thunder |
| order.update | Order details change | Updates an existing purchase |
| order.refunded | Refund issued | Updates revenue and attribution |
| Event | Trigger | Purpose |
|---|---|---|
| product.create | Product created | Creates a product inside Thunder |
| product.update | Product updated | Updates an existing product |
| Name | Decription |
|---|---|
| Order | The Orders Payload schema through it's Webhook |
| Product | The Product schema through the Orders Webhook |
| Customer | The Customer schema through the Orders Webhook |
| Products | The Products Payload schema through it's Webhook |
order.update multiple times updates the existing order.product.update multiple times updates the existing product.| Status | Meaning |
|---|---|
| 200 OK | Request processed successfully |
| 400 Bad Request | Invalid payload |
| 401 Unauthorized | Invalid or missing Authentication token |
| 403 Forbidden | Authentication failed |
| 404 Not Found | Invalid endpoint |
| 409 Conflict | Duplicate or conflicting resource |
| 500 Internal Server Error | Temporary Thunder error |
order.update event.order.refunded event with the updated order data.