Usage
Parameters
None.Returns
void. This method does not return a value.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Programmatically open the Mage loyalty sidebar.
MageSDK.openSidebar();
void. This method does not return a value.
<button onclick="MageSDK.openSidebar()">View My Rewards</button>
// After a customer completes an action, open the sidebar to show their updated points
MageSDK.openSidebar();