This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a fulfillment method is deleted.
function onFulfillmentMethodDeleted(handler: function): void;
handler(event: FulfillmentMethodDeletedEnvelope): void | Promise<void>
import { fulfillmentMethods } from "@wix/restaurants";
fulfillmentMethods.onFulfillmentMethodDeleted((event) => {
// handle your event here
});