Search...
deleteBackInStockNotificationRequest( )
Developer Preview
Deletes a back in stock notification request.
Syntax
function deleteBackInStockNotificationRequest(_id: string): Promise<void>
deleteBackInStockNotificationRequest Parameters
NAME
TYPE
DESCRIPTION
_id
string
ID of the notification request to delete.
Returns
Return Type:
Promise<
void
>Was this helpful?
deleteBackInStockNotificationRequest example
Copy Code
1import { backInStockNotifications } from 'wix-ecom-backend';23 async function deleteBackInStockNotificationRequest(id) {4 try {5 const result = await backInStockNotifications.deleteBackInStockNotificationRequest(id);67 return result;8 } catch (error) {9 console.error(error);10 // Handle the error11 }12 }13