onOperationUpdated( )


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:

Triggered when an operation is updated.

Permissions
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
function onOperationUpdated(handler: function): void;
Method Parameters
handlerfunction

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

JavaScript
import { operations } from "@wix/restaurants"; operations.onOperationUpdated((event) => { // handle your event here });
Did this help?