An event that triggers when an order is changed.
The onOrderUpdated()
event handler runs when an order has changed.
The received OrderUpdatedEvent
object contains information about the order that was updated.
An order is considered changed and the onOrderUpdated()
event handler runs
if any of the following happens:
onOrderPurchased()
event handler also runs.onOrderStarted()
event handler also runs.onOrderCanceled()
event handler also runs.onOrderEndDatePostponed()
event handler also runs.onOrderPaused()
or the onOrderResumed()
event handler also runs.onOrderEnded()
event handler also runs.onOrderStartDateChanged()
event handler also runs.onOrderCycleStarted()
event handler also runs.onOrderAutoRenewCanceled()
event handler also runs.Note: Backend events don't work when previewing your site.
Information about the order that was updated and metadata for the event.