Search.../

onBackInStockNotificationRequestCreated( )

Developer Preview

Triggered when a back in stock notification request is created.

Syntax

function wixEcom_onBackInStockNotificationRequestCreated(event: BackInStockNotificationRequestCreated): void

onBackInStockNotificationRequestCreated Parameters

NAME
TYPE
DESCRIPTION
event
Optional
BackInStockNotificationRequestCreated

Returns

This function does not return anything.

Return Type:

void

Was this helpful?

onBackInStockNotificationRequestCreated example

Copy Code
1
2 export function wixEcom_onBackInStockNotificationRequestCreated(event) {
3 const eventId = event.metadata.id
4 const entityId = event.entity._id;
5 }
6
7