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