onRibbonUpdated( )


Developer Preview

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

Notes:
Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
Manage Restaurants - all permissions
Read v3 catalog
Manage v3 catalog
Product write in v3 catalog
Read ribbons in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
function onRibbonUpdated(handler: function): void;
Method Parameters
handlerfunction

handler(event: RibbonUpdatedEnvelope): void | Promise<void>

JavaScript
import { ribbonsV3 } from "@wix/stores"; ribbonsV3.onRibbonUpdated((event) => { // handle your event here });
Did this help?