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.
Authorization
Request
This endpoint does not take any parameters
Response Object
Returns an empty object.
Status/Error Codes
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