Search...
onBackInStockNotificationRequestDeleted( )
Developer Preview
Triggered when a back in stock notification request is deleted.
Description
The onBackInStockNotificationRequestDeleted()
event handler runs when a back in stock notification request is deleted. The received BackInStockNotificationRequestDeleted
object contains event metadata.
Note: Backend events don't work when previewing your site.
Syntax
function wixEcom_onBackInStockNotificationRequestDeleted(event: BackInStockNotificationRequestDeleted): void
onBackInStockNotificationRequestDeleted Parameters
NAME
TYPE
DESCRIPTION
event
Optional
BackInStockNotificationRequestDeleted
Information about the back in stock notification request that was deleted.
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onBackInStockNotificationRequestDeleted example
Copy Code
12 export function wixEcom_onBackInStockNotificationRequestDeleted(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67