Search...
onBackInStockNotificationRequestCreated( )
Developer Preview
Triggered when a back in stock notification request is created.
Description
The onBackInStockNotificationRequestCreated()
event handler runs when a back in stock notification request is created. The received BackInStockNotificationRequestCreated
object contains information about the back in stock notification request that was created 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?
onBackInStockNotificationRequestCreated example
Copy Code
12 export function wixEcom_onBackInStockNotificationRequestCreated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67