Mage-OS Common Asynchronous Events

November 5, 2025 ยท View on GitHub

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

This module uses the Mage-OS Asynchronous Events module as a basis.

Installation

composer require mage-os/mageos-common-async-events

If you run into an error like "Could not find a version of package mage-os/mageos-common-async-events matching your minimum-stability (stable).", run this command instead:

composer require mage-os/mageos-common-async-events @dev

Enable and install the module:

bin/magento setup:upgrade

Usage

You can now use the following events without having to implement them yourself.

Event identifierDescriptionRemarks
customer.createdWhenever a customer is created
customer.updatedWhenever a customer is saved, except it's new
customer.loginWhenever a customer logs in successfully
customer.address.createdWhenever a customer address is created
customer.address.updatedWhenever a customer address is saved, except it's new
sales.order.createdWhen a new order is created
sales.order.updatedWhen the state of an existing order is changed
sales.order.paidWhen an order is fully paid
sales.order.shippedWhen an order is fully shipped
sales.order.holdedWhen an order is set "on hold"
sales.order.unholdedWhen an order is released from "on hold"
sales.order.cancelledWhen an order is cancelled
sales.shipment.createdWhen a new shipment is created
sales.invoice.createdWhen a new invoice is created
sales.invoice.paidWhen an invoice is paid
sales.creditmemo.createdWhen a new creditmemo is created
catalog.product.createdWhen a new product is created
catalog.product.updatedWhen a product is updated
cms.page.createdWhen a CMS page has been created
cms.page.updatedWhen a CMS page is updated
cms.block.createdWhen a CMS block has been created
cms.block.updatedWhen a CMS block is updated

You can use these events by

3rd Party Events

Event identifierDescriptionModule
customer.login_failedWhenever a customer fails to log inzero1/async-event-customer-login-failed
customer.create_failedWhenever a customer fails to sign up for an accountzero1/async-event-customer-create-failed