onProgramUpdated( )


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.

Method Declaration
Copy
Method Parameters
eventProgramUpdated

Information about the loyalty program that was updated and metadata for the event.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?