Webhooks x Virto Commerce
Enterprise commerce environments need downstream systems — ERP, CRM, analytics, fulfillment — to know when something changes in commerce without polling for updates. Virto’s built-in webhooks module delivers real time HTTP notifications to any configured endpoint when domain events occur, so connected systems can react immediately rather than waiting for a scheduled sync.
Webhooks in Virto
Virto Commerce includes a native webhooks module that automatically discovers all domain events raised by installed modules and delivers HTTP POST notifications with JSON serialized event data to user configured endpoints. It supports selective payload composition, multiple authentication schemes, and resilient delivery with configurable retry logic.
Webhooks in Virto are configured through the admin interface, where each webhook is set up with a name, a specific event to monitor, optional additional fields to include in the payload, and the destination URL. One event per webhook is the standard configuration, meaning separate webhooks are created for each event type that needs to be monitored.
What Webhooks Cover
Any event, any module — Virto’s webhooks module discovers domain event types from the platform and every installed module at runtime. There’s no manual registration required, so if a module raises an event, it’s available for subscription automatically.
Control over what gets sent — Each webhook can be configured to include specific entity properties in the notification payload, including previous field values for change tracking. This means the receiving system gets exactly the data it needs, not a full object dump it has to filter through.
Works with how your systems authenticate — Destination endpoints can require different authentication methods. Virto’s webhooks support None, HTTP Basic, Bearer Token, and Custom Header, so the connection works with whatever the receiving system expects without custom middleware just to handle auth.
Reliable delivery without manual monitoring — Failed deliveries retry automatically using exponential backoff — three attempts at 1, 2, and 4-minute intervals by default. Every attempt is logged in an audit feed with full request and response detail, so teams can see exactly what was sent, what came back, and when, without building a separate logging layer.
Implementation Approach
Webhooks are a built-in capability available through Virto’s admin interface without additional module installation beyond the webhooks module itself. Business users or administrators with appropriate permissions can create and manage webhooks directly in the admin interface.
Key considerations: which domain events need to trigger notifications, what data fields the destination system needs in the payload, which authentication method the destination endpoint requires, and whether the default retry policy is sufficient for your reliability requirements.
Use Cases
Notifying ERP when an order is placed or updated
When a buyer places or updates an order in Virto, the ERP needs to know immediately to begin fulfillment or update operational records. A webhook configured on the order changed event sends a JSON notification to the ERP’s endpoint as soon as the event fires, without a scheduled sync loop running in between.
Order data reaches the ERP in real time, reducing the delay between order placement in Virto and fulfillment initiation in the operational system.
Triggering downstream workflows when catalog data changes
When product data is updated in Virto’s catalog, connected systems like search indexes, analytics platforms, or CDNs may need to refresh or reindex. Webhooks on catalog update events notify those systems immediately when changes occur.
Connected systems stay current with catalog changes without polling Virto for updates on a schedule, reducing both latency and unnecessary API calls.
Auditing commerce activity across connected systems
Operations teams that need a reliable record of what happened and when across commerce events can use Virto’s webhook audit feed alongside the notifications themselves. Every delivery attempt is logged with full request and response detail.
Teams have a traceable, timestamped log of commerce events and their delivery to downstream systems, supporting auditing and troubleshooting without building a separate logging layer.