An event that triggers when a loyalty program is updated.
The onProgramUpdated()
event handler runs when the name or the point definition of the loyalty program is updated. The received ProgramUpdated
object contains information about the program that was updated.
onProgramUpdated()
does not trigger when the loyalty program's status changes.
Note: Backend events don't work when previewing your site.
Information about the loyalty program that was updated and metadata for the event.