onProgramUpdated( )

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

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
Method Parameters

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

Was this helpful?