Webhook Events Summary
Overview of all webhook events sent by VesuvioPay
VesuvioPay sends webhooks for the following categories:
Cart Events (Currently Active):
cart.created- New cart createdcart.item_added- Item added to cartcart.item_updated- Cart item quantity changedcart.item_removed- Item removed from cartcart.abandoned- Cart inactive for configured periodcart.recovered- Customer resumed abandoned cartcart.cleared- All items removed from cartcart.checkout_started- Customer began checkout process
Order Events (Currently Active):
order.created- Order successfully placed (NOT sent for SDK-created orders)order.status_updated- Order status changed (NOT sent for SDK updates)order.confirmed- Order confirmed (NOT sent for SDK updates)order.shipped- Order shipped (NOT sent for SDK updates)order.delivered- Order delivered (NOT sent for SDK updates)order.cancelled- Order cancelled (NOT sent for SDK updates)
Product Events (Future - Admin Panel):
product.created- Product created in admin panelproduct.updated- Product modified in admin panelproduct.variant_created- New variant addedproduct.variant_updated- Variant modified
SDK Integration Notes:
To prevent webhook loops, the following do NOT trigger webhooks:
- Orders created via
POST /api/v1/orders(external platform orders) - Order status updates via
PUT /api/v1/orders/{id}/status - Order cancellations via
PUT /api/v1/orders/{id}/cancel - Product/variant updates via SDK endpoints
Webhook Management:
Use the following endpoints to manage your webhooks:
POST /api/v1/webhooks- Create webhook endpointGET /api/v1/webhooks- List webhook endpointsPUT /api/v1/webhooks/{id}- Update webhook endpointDELETE /api/v1/webhooks/{id}- Delete webhook endpointPOST /api/v1/webhooks/{id}/test- Test webhook endpoint